diff options
author | aliguori | 2009-04-22 17:19:25 +0200 |
---|---|---|
committer | aliguori | 2009-04-22 17:19:25 +0200 |
commit | e7151f83e2316a7f2618b07793a71136165a760e (patch) | |
tree | f7da581d992761f7d472f2088de36e3bd755ba50 /hw/xen_machine_pv.c | |
parent | xen: add console backend driver. (Gerd Hoffmann) (diff) | |
download | qemu-e7151f83e2316a7f2618b07793a71136165a760e.tar.gz qemu-e7151f83e2316a7f2618b07793a71136165a760e.tar.xz qemu-e7151f83e2316a7f2618b07793a71136165a760e.zip |
xen: add framebuffer backend driver (Gerd Hoffmann)
This patch adds a frsamebuffer (and kbd+mouse) backend driver. It
it based on current xen-unstable code. It has been changed to make
use of the common backend driver code. It also has been changed to
compile with xen headers older than release 3.3
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7222 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/xen_machine_pv.c')
-rw-r--r-- | hw/xen_machine_pv.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/xen_machine_pv.c b/hw/xen_machine_pv.c index 93ab312d86..1f0b3ec8fd 100644 --- a/hw/xen_machine_pv.c +++ b/hw/xen_machine_pv.c @@ -57,6 +57,11 @@ static void xen_init_pv(ram_addr_t ram_size, int vga_ram_size, exit(1); } xen_be_register("console", &xen_console_ops); + xen_be_register("vkbd", &xen_kbdmouse_ops); + xen_be_register("vfb", &xen_framebuffer_ops); + + /* setup framebuffer */ + xen_init_display(xen_domid); } QEMUMachine xenpv_machine = { |