Re: bhyve PCI pass-through to Linux guest
Hi Sergey, # bhyve -S ... -s 7,passthru,0/20/0 ... Make sure you are also passing the '-S' option to grub-bhyve to force wiring of memory. Sure! I showed it in the command line above. 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. 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"
Re: bhyve PCI pass-through to Linux guest
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. ___ 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"
Re: bhyve PCI pass-through to Linux guest
Excerpts from Peter Grehan's message from Sun 20-Dec-15 15:18: > >>> # bhyve -S ... -s 7,passthru,0/20/0 ... > >>> > >>Make sure you are also passing the '-S' option to grub-bhyve to force > >> wiring of memory. > > > > Sure! I showed it in the command line above. > > 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. Thanks, Peter! I've missed that! What a foolish omission! Works fine now. S. ___ 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"
Re: bhyve PCI pass-through to Linux guest
Excerpts from Peter Grehan's message from Sun 20-Dec-15 15:02: > > > > # bhyve -S ... -s 7,passthru,0/20/0 ... > > > Make sure you are also passing the '-S' option to grub-bhyve to force > wiring of memory. Sure! I showed it in the command line above. Without that bhyve says: "passthru requires guest memory to be wired" S. ___ 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"