qemu-e2k/hw
Hans de Goede 0a2b5e3a78 qxl: Call spice_qxl_driver_unload from qxl_enter_vga_mode
With a SPICE_DISPLAY_CAP_MONITORS_CONFIG capable client, the client needs to
know what part of the primary to use for each monitor. If the guest driver
does not support this, the server sends messages to the client for a
single monitor spanning the entire primary.

As soon as the guest calls spice_qxl_monitors_config_async once, the server
sets the red_worker driver_has_monitors_config flag and stops doing this.

This is a problem when the driver gets unloaded, for example after a reboot
or when switching to a text vc with usermode mode-setting under Linux.

To reproduce this start a multi-mon capable Linux guest which uses
usermode mode-setting and then once X has started switch to a text vc. Note
how the client window does not only not resize, if you try to resize it
manually you always keep blackborders since the aspect is wrong.

This patch calls a new spice-server method called spice_qxl_driver_unload
which clears the driver_has_monitors_config flag inside the server, thereby
fixing this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2013-05-09 11:46:53 +02:00
..
9pfs virtio: remove the function pointer. 2013-04-24 11:50:20 -05:00
acpi acpi_piix4: Add infrastructure to send CPU hot-plug GPE to guest 2013-05-01 13:04:18 +02:00
alpha include: avoid useless includes of exec/ headers 2013-04-15 18:19:26 +02:00
arm console: add device link to QemuConsoles 2013-04-25 14:45:46 -05:00
audio audio: replace audio card configuration with default-configs 2013-04-29 12:16:37 -05:00
block fdc: QOM'ify ISA floppy controller 2013-04-29 08:27:47 -05:00
bt sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
char virtio-serial: fix command line compatibility. 2013-05-03 12:05:15 -05:00
core qdev: Introduce qdev_prop_set_globals_for_type() 2013-05-06 19:50:52 +02:00
cpu target-i386: Move APIC to ICC bus 2013-05-01 13:06:07 +02:00
cris hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
display qxl: Call spice_qxl_driver_unload from qxl_enter_vga_mode 2013-05-09 11:46:53 +02:00
dma i82374: QOM'ify 2013-04-29 08:27:47 -05:00
gpio Remove unneeded type casts 2013-04-19 11:36:33 +02:00
i2c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
i386 Merge remote-tracking branch 'afaerber/qom-cpu' into staging 2013-05-07 06:32:00 -05:00
ide ide: Reset BMIDEA bit when the bus master is stopped 2013-05-08 15:28:49 +02:00
input vmmouse: QOM'ify 2013-04-29 08:27:50 -05:00
intc target-i386: Move APIC to ICC bus 2013-05-01 13:06:07 +02:00
isa ich9: kill cmos_s3 2013-04-24 11:50:18 -05:00
lm32 qdev: Drop taddr properties 2013-04-20 17:54:52 +00:00
m68k
microblaze Remove unneeded type casts 2013-04-19 11:36:33 +02:00
mips audio: enable PCI audio cards for all PCI-enabled targets 2013-04-29 12:17:06 -05:00
misc pvpanic: create pvpanic by default for machine 1.5 2013-04-30 10:30:01 -05:00
moxie Trivial grammar and spelling fixes 2013-05-01 20:55:21 +04:00
net virtio-net: properly check the vhost status during status set 2013-05-07 06:43:09 -05:00
nvram pvpanic: pass configurable ioport to seabios 2013-04-30 10:30:01 -05:00
openrisc
pci
pci-bridge hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
pci-host sparc64: use direct interrupt mapping for PCI devices 2013-04-27 11:13:08 +00:00
ppc PPC: e500: correct params->ram_size with ram_size 2013-05-06 17:22:48 +02:00
s390x S390: Add virtio-blk boot 2013-05-06 17:30:01 +02:00
scsi virtio-scsi: fix the command line compatibility. 2013-05-03 12:05:15 -05:00
sd Typo, spelling and grammatical fixes 2013-04-12 14:33:20 +02:00
sh4 arm: fix location of some include files 2013-04-15 15:16:01 +02:00
sparc qdev: Drop taddr properties 2013-04-20 17:54:52 +00:00
sparc64 sparc64: allow 64 IRQ lines 2013-04-27 10:35:30 +00:00
ssi
timer i.MX: implement a more correct version of EPIT timer. 2013-05-03 18:21:02 +01:00
tpm Move TPM passthrough specific command line options to backend structure 2013-04-23 10:40:40 -05:00
unicore32 console: add device link to QemuConsoles 2013-04-25 14:45:46 -05:00
usb xhci: handle USB_RET_BABBLE 2013-05-07 11:34:03 +02:00
virtio virtio: properly validate address before accessing config 2013-05-08 15:54:21 -05:00
watchdog wdt_ib700: QOM'ify 2013-04-29 08:27:50 -05:00
xen target-i386: Replace MSI_SPACE_SIZE with APIC_SPACE_SIZE 2013-05-01 13:04:19 +02:00
xtensa sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
Makefile.objs virtio: simplify Makefile conditionals 2013-04-19 16:18:11 +02:00