qxl: Add set_client_capabilities() interface to QXLInterface
authorSøren Sandmann Pedersen <ssp@redhat.com>
Tue, 4 Sep 2012 14:14:48 +0000 (10:14 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 5 Sep 2012 15:11:56 +0000 (17:11 +0200)
commitc10018d6c77c94a8c703b9e4f026da74cad73d9e
treef5a6136b3b26b332e8cf1f9b923f8a8ff63498fb
parentddd8fdc78ee30fc445e3d1f5bd2056acfcdefe47
qxl: Add set_client_capabilities() interface to QXLInterface

This new interface lets spice server inform the guest whether

(a) a client is connected
(b) what capabilities the client has

There is a fixed number (464) of bits reserved for capabilities, and
when the capabilities bits change, the QXL_INTERRUPT_CLIENT interrupt
is generated.

Signed-off-by: Soren Sandmann <ssp@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/qxl.c