I have several bhyve guest OSs in FreeBSD 11-CURRENT. I never run two guests with the same PCI pass-through device.
I pass trough a PCI device (USB controller) to a Linux guest. It works properly. Then I halt the VM, make sure that bhyve destroyed it and run Windows guest with the same PCI device passed-through.
Windows device manager does show the device, however, e.g. a flash drive, plugged in is not presented to Windows, instead it's being processed by FreeBSD (a mass storage device is created).
The ppt device still exists:
After that it does not work in Linux guest as well. Kernel module (vmm) unloading and reloading does not help.
Thanks for advises,
Sergey
I pass trough a PCI device (USB controller) to a Linux guest. It works properly. Then I halt the VM, make sure that bhyve destroyed it and run Windows guest with the same PCI device passed-through.
Windows device manager does show the device, however, e.g. a flash drive, plugged in is not presented to Windows, instead it's being processed by FreeBSD (a mass storage device is created).
The ppt device still exists:
Code:
pciconf -l
....
ppt0@pci0:0:20:0: class=0x0c0330 card=0x21f317aa chip=0x1e318086 rev=0x04 hdr=0x00
....
Thanks for advises,
Sergey