mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-29 00:41:31 +00:00
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. |
||
|---|---|---|
| .. | ||
| barrier.h | ||
| controller_prot.h | ||
| end-packed.h | ||
| enums.h | ||
| error_codes.h | ||
| foreign_menu_prot.h | ||
| ipc_ring.h | ||
| macros.h | ||
| Makefile.am | ||
| protocol.h | ||
| qxl_dev.h | ||
| qxl_windows.h | ||
| start-packed.h | ||
| stats.h | ||
| types.h | ||
| vd_agent.h | ||
| vdi_dev.h | ||