Sergey,

I've seen some success passing through devices that have their driver
disabled in the FreeBSD kernel.
See the USB 3.0 pass through that Eresia set up in iohyve.
https://github.com/pr1ntf/iohyve/wiki/USB-3.0-PCI-Controller-Pass-through

When he disabled the kernel module in FreeBSD, he can then use the device
in the bhyve guest.

Unfortunately, I have not worked on this specific problem myself, and
cannot speak for this solution.

-Trent

On Mon, Dec 21, 2015 at 8:09 PM, Peter Grehan <gre...@freebsd.org> wrote:

> Hi Sergey,
>
> This is pretty reproducible:
>>
>> 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.
>>
>> After that it does not work in Linux guest as well. Kernel module (vmm)
>> unloading and reloading does not help.
>>
>
>  The flash drive being processed by FreeBSD would indicate that it has
> ownership of the device. Would you be able to try a 'pciconf -vl' after the
> Linux guest exists, and after the Windows guest exits ?
>
> later,
>
> Peter.
>
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "
> freebsd-virtualization-unsubscr...@freebsd.org"
>
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to