Hello.
I'm going to make another question about the bhyve behavior,because I want to understand if I'm dealing with a bug or with a regular method if working. So,please be patient with me. What I want to achieve is to pass thru two of my NTFS "formatted" disks to a Windows 11 VM,but without pass them thru using the USB controller. I'm using :
I've configured bhyve like this :
These are the NTFS disks that I would like to see inside the Windows 11 guest os :
as u can see I've used the virtio-blk driver,so inside the Windows 11 VM I've installed the lastest version of the virtio drivers. You can see what's the problem giving a look at the images below. They are 0 byte large,so they aren't recognized by Windows 11. Is this a bug or what ? I've also used the ahci-hd driver but I've got the same result. They are USB 3.0 disks.
I'm going to make another question about the bhyve behavior,because I want to understand if I'm dealing with a bug or with a regular method if working. So,please be patient with me. What I want to achieve is to pass thru two of my NTFS "formatted" disks to a Windows 11 VM,but without pass them thru using the USB controller. I'm using :
Code:
FreeBSD marietto 13.0-RELEASE FreeBSD 13.0-RELEASE #5 n244809-dff3dead3734: Wed Feb 23 13:16:32 CET
2022 marietto@marietto:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
I've configured bhyve like this :
Code:
bhyve -S -c sockets=1,cores=2,threads=2 -m 4G -w -H -A \
-s 0,hostbridge \
-s 1,ahci-hd,/dev/nvd0 \
-s 2,virtio-blk,/dev/da4p2 \
-s 3,virtio-blk,/dev/da2p1 \
-s 8,virtio-net,tap4 \
-s 10,hda,play=/dev/dsp,rec=/dev/dsp \
-s 29,fbuf,tcp=0.0.0.0:5904,w=1440,h=900 \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \
vm4 < /dev/null & sleep 2 && vncviewer 0:4
These are the NTFS disks that I would like to see inside the Windows 11 guest os :
Code:
-s 2,virtio-blk,/dev/da4p2 \
-s 3,virtio-blk,/dev/da2p1 \
=> 34 19532873661 da4 GPT (9.1T)
34 32734 1 ms-reserved (16M)
32768 19532838912 2 ms-basic-data (9.1T)
19532871680 2015 - free - (1.0M)
=> 34 23437705149 da2 GPT (11T)
34 2014 - free - (1.0M)
2048 23437701120 1 ms-basic-data (11T)
23437703168 2015 - free - (1.0M)
as u can see I've used the virtio-blk driver,so inside the Windows 11 VM I've installed the lastest version of the virtio drivers. You can see what's the problem giving a look at the images below. They are 0 byte large,so they aren't recognized by Windows 11. Is this a bug or what ? I've also used the ahci-hd driver but I've got the same result. They are USB 3.0 disks.
Attachments
Last edited: