summaryrefslogtreecommitdiffstats
path: root/hw/xenpv
diff options
context:
space:
mode:
authorStefano Stabellini2017-07-07 01:48:12 +0200
committerStefano Stabellini2017-07-07 20:10:03 +0200
commit9f2130f58d5dd4e1fcb435cca08bf77e7c32e6c6 (patch)
treea5e79691347777157dcd80159c27790f6f511c9a /hw/xenpv
parentMerge remote-tracking branch 'remotes/borntraeger/tags/s390x-20170706' into s... (diff)
downloadqemu-9f2130f58d5dd4e1fcb435cca08bf77e7c32e6c6.tar.gz
qemu-9f2130f58d5dd4e1fcb435cca08bf77e7c32e6c6.tar.xz
qemu-9f2130f58d5dd4e1fcb435cca08bf77e7c32e6c6.zip
xenfb: remove xen_init_display "temporary" hack
Initialize xenfb properly, as all other backends, from its own "initialise" function. Remove the dependency of vkbd on vfb: use qemu_console_lookup_by_index to find the principal console (to get the size of the screen) instead of relying on a vfb backend to be available (which adds a dependency between the two). Signed-off-by: Stefano Stabellini <sstabellini@kernel.org> Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Diffstat (limited to 'hw/xenpv')
-rw-r--r--hw/xenpv/xen_machine_pv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/xenpv/xen_machine_pv.c b/hw/xenpv/xen_machine_pv.c
index 79aef4ecc3..31d2f25627 100644
--- a/hw/xenpv/xen_machine_pv.c
+++ b/hw/xenpv/xen_machine_pv.c
@@ -94,9 +94,6 @@ static void xen_init_pv(MachineState *machine)
/* config cleanup hook */
atexit(xen_config_cleanup);
-
- /* setup framebuffer */
- xen_init_display(xen_domid);
}
static void xenpv_machine_init(MachineClass *mc)