mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
spice: fix display initialization
Spice has two display interface implementations: One integrated into the qxl graphics card, and one generic which can operate with every qemu-emulated graphics card. The generic one is activated in case spice is used without qxl. The logic for that only caught the "-vga qxl" case, "-device qxl-vga" goes unnoticed. Fix that by adding a check in the spice interface registration so we'll notice the qxl card no matter how it is created. https://bugzilla.redhat.com/show_bug.cgi?id=981094 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
dbe49aea76
commit
58ae52a8dc
4 changed files with 8 additions and 2 deletions
2
vl.c
2
vl.c
|
@ -4387,7 +4387,7 @@ int main(int argc, char **argv, char **envp)
|
|||
}
|
||||
#endif
|
||||
#ifdef CONFIG_SPICE
|
||||
if (using_spice && !qxl_enabled) {
|
||||
if (using_spice && !spice_displays) {
|
||||
qemu_spice_display_init(ds);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue