diff options
author | Alon Levy <alevy@redhat.com> | 2012-09-10 03:16:11 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-09-12 16:54:08 +0300 |
commit | d1a6f3dfd89063ac358539a03ad23aa7e6caf322 (patch) | |
tree | f7d54e4700a404fe7b06f622c8098f8efa3b456d /NEWS | |
parent | 361fd166b26b4450617b1f7175be9aaa7d8f6a7e (diff) | |
download | spice-protocol-d1a6f3dfd89063ac358539a03ad23aa7e6caf322.tar.gz spice-protocol-d1a6f3dfd89063ac358539a03ad23aa7e6caf322.tar.xz spice-protocol-d1a6f3dfd89063ac358539a03ad23aa7e6caf322.zip |
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.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions