bhyve PCI pass-through to Linux guest

Peter Grehan grehan at freebsd.org
Sun Dec 20 05:02:54 UTC 2015


Hi Sergey,
> I have a working Linux guest in bhyve (Debian). Trying to pass through a
> PCI device (USB controller) by adding a couple of options:
>
> # bhyve -S ... -s 7,passthru,0/20/0 ...
>
> That causes bhyve termination right away with error:
> Unable to setup memory (17)
>
> Exactly the same option with passing the same USB controller to Windows 2012
> guest works perfectly.
>
> The only difference (by my understanding) is that I load UEFI for Windows
> and use grub-bhyve for Linux.
>
> What should I check?

  Make sure you are also passing the '-S' option to grub-bhyve to force 
wiring of memory.

later,

Peter.



More information about the freebsd-virtualization mailing list