bhyve graphics support
Lars Engels
lars.engels at 0x20.net
Fri May 27 10:44:11 UTC 2016
On Fri, May 27, 2016 at 01:33:42AM -0700, Peter Grehan wrote:
> As of r300829, support for graphic output has been checked into the
> projects/bhyve_graphics branch. This is just the usr.sbin/bhyve
> executable, so is quick and easy to build from source.
>
> Assuming a reasonably current source tree is in /usr/src,
> svn co http://svn.freebsd.org/base/projects/bhyve_graphics path/to/dir
> cd path/to/dir
> make BHYVE_SYSDIR=/usr/src -m /usr/src/share/mk
>
> UEFI GOP support has been checked into the freebsd/edk2 repo:
>
> https://github.com/freebsd/uefi-edk2/commit/a36132939e259df79b16699c03c6f1d63c7454b9
>
> A pre-built bhyve/UEFI binary image with GOP support is available at:
> https://people.freebsd.org/~grehan/bhyve_uefi/BHYVE_UEFI_20160526.fd
>
> The new bhyve executable supports some new devices. An example of using
> them for Windows10 is:
>
> bhyve \
> -c 2 \
> -s 3,ahci-cd,/images/win10_install.iso \
> -s 4,ahci-hd,/images/win10.img \
> -s 11,fbuf,tcp=0.0.0.0:5900,w=1600,h=900,wait \
> -s 20,xhci,tablet \
> -s 31,lpc \
> -l bootrom,/images/BHYVE_UEFI_20160526.fd \
> -m 2G -H -w \
> windows
Thanks for your work on this!
With Ubuntu 16.04 I was not successful so far. After compiling bhyve and
downloading the UEFI image I start Ubuntu like this:
grub-bhyve -m device.map -r hd0,msdos1 -M 4G ubuntu
~lars/dev/bhyve_graphics/bhyve \
-s 0:0,hostbridge \
-s 1:0,lpc \
-s 2:0,virtio-net,tap1 \
-s 3:0,virtio-blk,./ubuntu-hd.img \
-s 11,fbuf,tcp=0.0.0.0:5900,w=1280,h=720,wait \
-s 20,xhci,tablet \
-l bootrom,/home/lars/dev/bhyve_graphics/BHYVE_UEFI_20160526.fd \
-c 4 \
-m 4G \
ubuntu
Then I connect with vncviewer but only see this message:
"Boot failed. EFI misc device"
Is there anything I can try?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20160527/adb7403b/attachment.sig>
More information about the freebsd-virtualization
mailing list