Go to file
Alon Levy d1a6f3dfd8 qxl_dev.h: add client monitors configuration notification to guest
So far we have used the agent to notify the guest of a request to change
the monitors configurations (heads) on the qxl device. This patch introduces
a new interrupt and new fields in the qxl rom to notify the guest about
a new request, similarly to how physical hardware notifies the driver.

We compute crc over the monitors configuration to avoid host-write from a
following update while guest-read corruption. The update protocol is:

qemu:
  (2) fill QXLRom::client_monitors_config
  (3) raise QXL_INTERRUPT_CLIENT_MONITORS_CONFIG

guest:
  (1) clear QXL_INTERRUPT_CLIENT_MONITORS_CONFIG bit in irq status
  (2) read QXLRom::client_monitors_config
  (3) (verify-crc)? done : goto 2

If the interrupt mask is ~0 or 0, or does not have
QXL_INTERRUPT_CLIENT_MONITORS_CONFIG set, we also assume it doesn't support
this interrupt.
2012-09-12 16:54:08 +03:00
spice qxl_dev.h: add client monitors configuration notification to guest 2012-09-12 16:54:08 +03:00
AUTHORS Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
autogen.sh autogen.sh: handle ORIGDIR with spaces 2011-11-10 15:46:27 +02:00
ChangeLog Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
configure.ac Release 0.12.1 2012-09-02 21:18:38 +03:00
COPYING Add MIT style COPYING file 2010-02-04 16:23:24 +01:00
git.mk build-sys: use git.mk 2012-03-19 21:12:18 +01:00
includes.sed Add includes.sed file to handle include renaming 2010-02-04 18:12:07 +01:00
Makefile.am build-sys: use git.mk 2012-03-19 21:12:18 +01:00
NEWS Release 0.12.1 2012-09-02 21:18:38 +03:00
README Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
rename-identifiers.sh Add utility script to do C identifier renaming 2010-02-04 16:43:24 +01:00
renames fix up reames 2010-02-04 18:11:09 +01:00
spice-protocol.pc.in Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00