diff options
author | Alon Levy <alevy@redhat.com> | 2012-09-10 16:24:54 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-09-13 14:47:31 +0300 |
commit | ce42c76aed852eb88086ec371acf899d666ca3c6 (patch) | |
tree | 87c205103938b5a8db5313d8419805cdb98ba7a5 /maint.mk | |
parent | 9b2e52f2bc4dec8ca8f34c8d6b3d9b8c5fe69c56 (diff) | |
download | spice-ce42c76aed852eb88086ec371acf899d666ca3c6.tar.gz spice-ce42c76aed852eb88086ec371acf899d666ca3c6.tar.xz spice-ce42c76aed852eb88086ec371acf899d666ca3c6.zip |
server: add QXLInterface::client_monitors_config
Used to implement guest monitor configuration change similarly to real
hardware in conjunction with the new qemu interrupt
QXL_INTERRUPT_CLIENT_MONITORS_CONFIG. client_monitors_config is also
used to probe the support by the interface. If it is not supported we
send the message to the guest agent.
This makes a linux qxl driver similar to existing kms drivers.
The logic is:
For every received VDAgentMonitorsConfig:
if client_monitors_config(NULL):
write client configuration to pci rom BAR.
send interrupt to guest
guest kernel reads configuration from rom BAR.
guest kernel issues event to user space
user space reads (libdrm) and reconfigures (libXRandr)
else: (current implementation)
write message to guest agent
guest agent issues reconfiguration via XRandr / windows Escape ioctl to kernel
Diffstat (limited to 'maint.mk')
0 files changed, 0 insertions, 0 deletions