]> git.proxmox.com Git - mirror_qemu.git/commit
xenfb: remove xen_init_display "temporary" hack
authorStefano Stabellini <sstabellini@kernel.org>
Thu, 6 Jul 2017 23:48:12 +0000 (16:48 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 7 Jul 2017 18:10:03 +0000 (11:10 -0700)
commit9f2130f58d5dd4e1fcb435cca08bf77e7c32e6c6
treea5e79691347777157dcd80159c27790f6f511c9a
parentb11365867568ba954de667a0bfe0945b8f78d6bd
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>
hw/display/xenfb.c
hw/xenpv/xen_machine_pv.c
include/hw/xen/xen_backend.h