Go to file
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
spice make unstable qxl compatible with 0.4 qxl 2010-04-26 15:48:54 +02:00
.gitignore Add gitignore file 2010-02-04 16:47:32 +01:00
AUTHORS Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
autogen.sh Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
ChangeLog Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
configure.ac Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
COPYING Add MIT style COPYING file 2010-02-04 16:23:24 +01:00
includes.sed Add includes.sed file to handle include renaming 2010-02-04 18:12:07 +01:00
INSTALL Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
Makefile.am Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
NEWS Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
README Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
rename-identifiers.sh Add utility script to do C identifier renaming 2010-02-04 16:43:24 +01:00
renames fix up reames 2010-02-04 18:11:09 +01:00
spice-protocol.pc.in Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00