mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
hw/xen: Register framebuffer backend via xen_backend_init()
Align the framebuffer backend with the other legacy ones, register it via xen_backend_init() when '-vga xenfb' is used. It is safe because MODULE_INIT_XEN_BACKEND is called in xen_bus_realize(), long after CLI processing initialized the vga_interface_type variable. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Paul Durrant <paul@xen.org> Message-Id: <20240510104908.76908-8-philmd@linaro.org>
This commit is contained in:
parent
d76795ea3d
commit
6ece1df966
3 changed files with 7 additions and 7 deletions
|
@ -50,8 +50,6 @@ static void xen_init_pv(MachineState *machine)
|
|||
break;
|
||||
}
|
||||
|
||||
xen_be_register("vfb", &xen_framebuffer_ops);
|
||||
|
||||
/* configure framebuffer */
|
||||
if (vga_interface_type == VGA_XENFB) {
|
||||
xen_config_dev_vfb(0, "vnc");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue