Hello to everyone.
I'm testing Windows 11 with bhyve and I've found an annoying problem that prevents me from completing some tasks that I'm working on.
It seems that the virtio-9p driver does not work inside the Windows 11 os emulated with bhyve. When Windows 11 is launched,I don't see the folder "mnt" mounted on the root folder of Windows 11. Below you can see which bhyve parameters I've used :
This is how I make it work under Linux :
In the guest I need to do something like this :
Instead on Windows 11 ? Is there a method to mount the folder like in Linux ? Someone of you has been able to share a folder between FreeBSD and Windows 10 using bhyve ? (maybe 11 is too new to allow this)...thanks....
I'm testing Windows 11 with bhyve and I've found an annoying problem that prevents me from completing some tasks that I'm working on.
It seems that the virtio-9p driver does not work inside the Windows 11 os emulated with bhyve. When Windows 11 is launched,I don't see the folder "mnt" mounted on the root folder of Windows 11. Below you can see which bhyve parameters I've used :
Code:
bhyve -S -c 4 -m 8G -w -H \
-s 0,hostbridge \
-s 1,ahci-cd,/home/marietto/Downloads/virtio/virtio-win-0.1.208.iso \
-s 2,ahci-hd,/mnt/da0p1/Backups/OS/bhyve/Windows/win11.img \
-s 3,fbuf,tcp=0.0.0.0:5900,w=1440,h=900,wait \
-s 8,virtio-net,tap0 \
----> -s 9,virtio-9p,sharename=/mnt \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
vm0
This is how I make it work under Linux :
Code:
-s 8,virtio-9p,sharename=<host-dir-path>
In the guest I need to do something like this :
Code:
mount -t 9p -o trans=virtio,version=9p2000.L,rw sharename /mnt
Instead on Windows 11 ? Is there a method to mount the folder like in Linux ? Someone of you has been able to share a folder between FreeBSD and Windows 10 using bhyve ? (maybe 11 is too new to allow this)...thanks....