spice-protocol/spice
Gerd Hoffmann 445a96d029 make unstable qxl compatible with 0.4 qxl
Add SET_MODE IO port back in.
Add QXLRom offset fields back in.

I/O ports, RAM and ROM layout are binary compatible now.

With these changes merged it should be possible to create *one* qxl
device which supports *both* 0.4 and unstable spice commands.

Everything the guest touches before entering native mode is binary
compatible.  Old (0.4) guests drivers enter native mode via SET_MODE,
new (unstqable) guest drivers enter native mode using CREATE_PRIMARY,
so when we see spice commands from the guest come in we know
whenever we have to interpret them as 0.4 or unstable ones.

Added commends to structs which need care wrt. compatibility when
updating.

Added some QXLCompat* structs for the 0.4 struct versions.

Added a flags field to QXLCommandEx so qxl can signal whenever commands
are compat or not.

Moved QXLRom->n_surfaces to make QXLRom->flags 64bit aligned.

Add padding to QXLRom to ensure future elements are 32bit aligned.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2010-04-26 15:48:54 +02:00
..
barrier.h Clean up and standardize header guards 2010-02-04 16:47:14 +01:00
draw.h Add source/dest alpha information to AlphaBlend 2010-04-23 11:07:27 +02:00
end-packed.h Add standard header for structure packing 2010-02-04 16:43:15 +01:00
error_codes.h Clean up and standardize header guards 2010-02-04 16:47:14 +01:00
ipc_ring.h Fix up SPICE_SPICE typo 2010-02-04 18:10:50 +01:00
macros.h Add a bunch of generically useful macros 2010-03-09 11:53:59 +01:00
Makefile.am Add a bunch of generically useful macros 2010-03-09 11:53:59 +01:00
protocol.h Pass format when creating surfaces rather than depth 2010-04-19 15:47:48 +02:00
qxl_dev.h make unstable qxl compatible with 0.4 qxl 2010-04-26 15:48:54 +02:00
start-packed.h Disable warning about our use of pragma pack in include file 2010-03-05 16:25:05 +01:00
stats.h Clean up and standardize header guards 2010-02-04 16:47:14 +01:00
types.h Clean up and standardize header guards 2010-02-04 16:47:14 +01:00
vd_agent.h Clean up and standardize header guards 2010-02-04 16:47:14 +01:00
vdi_dev.h Always include using <spice/foo.h> style 2010-02-04 16:47:23 +01:00