Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Dec 2015 15:02:42 +1000
From:      Peter Grehan <grehan@freebsd.org>
To:        Sergey Manucharian <sm@ara-ler.com>
Cc:        FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: bhyve PCI pass-through to Linux guest
Message-ID:  <56763672.3090207@freebsd.org>
In-Reply-To: <20151220045821.GG22018@dendrobates.araler.com>
References:  <20151220045821.GG22018@dendrobates.araler.com>

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




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