bhyve: tests: cover 2 NVMe devices on 2 controllers case

Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Roman Bogorodskiy authored and Jiri Denemark committed 2025-10-29 11:45:42 +01:00
1 parent 79e46b1698
commit 8d9bf732a7
6 files changed
+73

No files matched your search

@@ -0,0 +1,10 @@
bhyve \
-c 1 \
-m 214 \
-u \
-H \
-P \
-s 0:0,hostbridge \
-s 2:0,nvme,/tmp/freebsd.img \
-s 3:0,nvme,/tmp/data.img \
bhyve
@@ -0,0 +1,4 @@
bhyveload \
-m 214 \
-d /tmp/freebsd.img \
bhyve
@@ -0,0 +1,21 @@
<domain type='bhyve'>
<name>bhyve</name>
<uuid>df3be7e7-a104-11e3-aeb0-50e5492bd3dc</uuid>
<memory>219136</memory>
<vcpu>1</vcpu>
<os>
<type>hvm</type>
</os>
<devices>
<disk type='file'>
<driver name='file' type='raw'/>
<source file='/tmp/freebsd.img'/>
<target dev='nvme0n1' bus='nvme'/>
</disk>
<disk type='file'>
<driver name='file' type='raw'/>
<source file='/tmp/data.img'/>
<target dev='nvme1n1' bus='nvme'/>
</disk>
</devices>
</domain>