mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
b113658675
commit
9f2130f58d
3 changed files with 18 additions and 68 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue