]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Import bhyve_graphics into CURRENT. Thanks to all who tested
authorPeter Grehan <grehan@FreeBSD.org>
Mon, 4 Jul 2016 03:19:06 +0000 (03:19 +0000)
committerPeter Grehan <grehan@FreeBSD.org>
Mon, 4 Jul 2016 03:19:06 +0000 (03:19 +0000)
commit2cf9911fc1ec16dceba0cbc7186577e7bc1a1eb9
treea596492c7883b4731ea72bd40281cca52d5403f9
parent3c2db7e010a98cb66db10a4552e9bf038bba042f
parent205b961b15c4de4789f484ddd795b6a42d1b1eac
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