svn commit: r302332 - head/usr.sbin/bhyve

Ngie Cooper (yaneurabeya) yaneurabeya at gmail.com
Tue Jul 5 22:53:55 UTC 2016


> On Jul 5, 2016, at 15:52, Bryan Drewery <bdrewery at FreeBSD.org> wrote:
> 
> On 7/3/2016 8:19 PM, Peter Grehan wrote:
>> Author: grehan
>> Date: Mon Jul  4 03:19:06 2016
>> New Revision: 302332
>> URL: https://svnweb.freebsd.org/changeset/base/302332
>> 
>> Log:
>>  Import bhyve_graphics into CURRENT. Thanks to all who tested
>>  this on the branch.
>> 
>>  Original commit message:
>>    Initial bhyve native graphics support.
>> 
>>    This adds emulations for a raw framebuffer device, PS2 keyboard/mouse,
>>    XHCI USB controller and a USB tablet.
>> 
>>    A simple VNC server is provided for keyboard/mouse input, and graphics
>>    output.
>> 
>>    A VGA emulation is included, but is currently disconnected until an
>>    additional bhyve change to block out VGA memory is committed.
>> 
>>    Credits:
>>     - raw framebuffer, VNC server, XHCI controller, USB bus/device emulation
>>        and UEFI f/w support by Leon Dang
>>     - VGA, console/g, initial VNC server  by tychon@
>>     - PS2 keyboard/mouse jointly done by tychon@ and Leon Dang
>>     - hypervisor framebuffer mem support by neel@
>> 
>>    Tested by: Michael Dexter, in a number of revisions of this code.
>> 
>>    With the appropriate UEFI image, FreeBSD, Windows and Linux guests can
>>    installed and run in graphics mode using the UEFI/GOP framebuffer.
> 
> This breaks the external GCC 5.2 build:
> 
> /builds/FreeBSD_HEAD_amd64_gcc/usr.sbin/bhyve/rfb.c: In function
> 'sse42_supported':
> /builds/FreeBSD_HEAD_amd64_gcc/usr.sbin/bhyve/rfb.c:885:17: error:
> 'bit_SSE42' undeclared (first use in this function)
>  return ((ecx & bit_SSE42) != 0);
>                 ^
> https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc/1334/console

It breaks gcc compilation in general. Here’s my proposed fix in progress: https://reviews.freebsd.org/D7119 .
Thanks,
-Ngie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20160705/0369cda5/attachment.sig>


More information about the svn-src-all mailing list