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?

Attachment: pgpZDByStLQd2.pgp
Description: PGP signature

Reply via email to