mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 11:31:16 +00:00
Like it usually happens, I fixed one thing and broke another:
in 803966c76
address allocation was fixed for SATA disks, but
broke that for virtio disks, because it dropped disk address
assignment completely. It's not needed for SATA disks anymore,
but still needed for the virtio ones.
Bring that back and add a couple of tests to make sure it won't
happen again.
12 lines
232 B
Plaintext
12 lines
232 B
Plaintext
/usr/sbin/bhyve \
|
|
-c 1 \
|
|
-m 214 \
|
|
-u \
|
|
-H \
|
|
-P \
|
|
-s 0:0,hostbridge \
|
|
-s 3:0,virtio-net,faketapdev,mac=52:54:00:bc:85:fe \
|
|
-s 2:0,virtio-blk,/tmp/freebsd.img \
|
|
-s 4:0,virtio-blk,/tmp/test.img \
|
|
-s 5:0,virtio-blk,/tmp/test2.img bhyve
|