Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2015 13:09:00 +1000
From:      Peter Grehan <grehan@freebsd.org>
To:        Sergey Manucharian <sm@ara-ler.com>
Cc:        FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: {Spam?} Re: bhyve PCI pass-through to Linux guest
Message-ID:  <5678BECC.7090200@freebsd.org>
In-Reply-To: <20151220215240.GB4064@dendrobates.araler.com>
References:  <20151220045821.GG22018@dendrobates.araler.com> <56763672.3090207@freebsd.org> <20151220051015.GH22018@dendrobates.araler.com> <56763A0B.8010802@freebsd.org> <20151220053644.GI22018@dendrobates.araler.com> <20151220215240.GB4064@dendrobates.araler.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5678BECC.7090200>