Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Dec 2015 14:52:40 -0700
From:      Sergey Manucharian <sm@ara-ler.com>
To:        FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: bhyve PCI pass-through to Linux guest
Message-ID:  <20151220215240.GB4064@dendrobates.araler.com>
In-Reply-To: <20151220053644.GI22018@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>

next in thread | previous in thread | raw e-mail | index | archive | help
Excerpts from Sergey Manucharian's message from Sat 19-Dec-15 22:36:
> Excerpts from Peter Grehan's message from Sun 20-Dec-15 15:18:
> > >>> # bhyve -S ... -s 7,passthru,0/20/0 ...
> > 
> >   That's the bhyve command line (if that's the one you meant). You also 
> > have to pass '-S' when invoking grub-bhyve, since that's when the memory 
> > resources are created.
> 
> Works fine now.

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.

Of course, I never run two guests with the same PCI pass-through device.

Thanks for advices,
Sergey



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