]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Import bhyve_graphics into CURRENT. Thanks to all who tested
authorgrehan <grehan@FreeBSD.org>
Mon, 4 Jul 2016 03:19:06 +0000 (03:19 +0000)
committergrehan <grehan@FreeBSD.org>
Mon, 4 Jul 2016 03:19:06 +0000 (03:19 +0000)
commit6775e1255793036b1ac8a57622c6495dd5e16cc5
treea596492c7883b4731ea72bd40281cca52d5403f9
parent929f609fc0c117889832c82931b4cfb8967b59eb
parentb1cfc58d46a9371db4b4eb17381d81aba76da116
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.

Approved by: re (gjb)
24 files changed:
usr.sbin/bhyve/Makefile
usr.sbin/bhyve/atkbdc.c
usr.sbin/bhyve/atkbdc.h
usr.sbin/bhyve/bhyvegc.c
usr.sbin/bhyve/bhyvegc.h
usr.sbin/bhyve/bhyverun.c
usr.sbin/bhyve/console.c
usr.sbin/bhyve/console.h
usr.sbin/bhyve/pci_fbuf.c
usr.sbin/bhyve/pci_xhci.c
usr.sbin/bhyve/pci_xhci.h
usr.sbin/bhyve/ps2kbd.c
usr.sbin/bhyve/ps2kbd.h
usr.sbin/bhyve/ps2mouse.c
usr.sbin/bhyve/ps2mouse.h
usr.sbin/bhyve/rfb.c
usr.sbin/bhyve/rfb.h
usr.sbin/bhyve/sockstream.c
usr.sbin/bhyve/sockstream.h
usr.sbin/bhyve/usb_emul.c
usr.sbin/bhyve/usb_emul.h
usr.sbin/bhyve/usb_mouse.c
usr.sbin/bhyve/vga.c
usr.sbin/bhyve/vga.h