| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
This lets us send rgba images with all high bytes 0xff as rgb, which
is not all that uncommon.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
|
|
|
| |
This is used to specify how pixels map to colors in surfaces.
|
|
|
|
|
|
| |
We will switch back to 0x101 when things settle down and we guarantee
backwards compatibility. For now we will keep breaking it, bumping
revision each time this happens.
|
|
|
|
| |
Signed-off-by: Izik Eidus <ieidus@redhat.com>
|
|
|
|
|
|
|
|
| |
protocol commands to create/destroy surface on the client.
i removed spice_msg_display_mode as it now not needed
Signed-off-by: Izik Eidus <ieidus@redhat.com>
|
|
|
|
|
|
|
|
|
| |
There is some confusion in the different branches on what the minors
mean. We expect minor == 2 to mean support for
SPICE_MSG_MAIN_MIGRATE_SWITCH_HOST and SpiceMsgMainMigrationBegin
with added public key info. All other additions like tunneling are
for minor 3 (although we might not do a release with minor 3, but
rather the bump major).
|
|
|
|
| |
This is a simpler form of migration
|
|
|
|
|
| |
"int" is not of a welldefined size, fortunally all existing uses
are 32bit.
|
|
|
|
|
| |
This is largely based on gmacros.h from glib with a few
custom macros that were repeated in the spice codebase.
|
|
|
|
| |
Without this we can't build the driver
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
red_error_codes.h -> spice/error_codes.h
red.h -> spice/protocol.h
reds_stat.h -> spice/stats.h
|
|
|
|
|
| |
This is just the result of running:
./rename-identifiers.sh renames spice/*.h
|
|
|
|
|
| |
This makes use have a consistent namespace for the core network protocol.
The PCI devices each have their own namespaces.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
There is a standard for integer types (i.e. uint32_t) which we're using
at some places, but not others. Lets use it everywhere.
|
|
|
|
|
| |
Initially we only do what is necessary to get the stdint types like
uint32_t, etc.
|
| |
|
|
|