diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-05-07 14:03:36 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-05-19 11:22:07 +0200 |
commit | 6bdf38daf8796a596fe992bd79b79dd312870b89 (patch) | |
tree | d7cde4679aea97b7ada864c754e4cdee96220422 /server/red_worker.h | |
parent | 3cffcf98a1d8ef35c86b6fb0b381856e52677171 (diff) | |
download | spice-6bdf38daf8796a596fe992bd79b79dd312870b89.tar.gz spice-6bdf38daf8796a596fe992bd79b79dd312870b89.tar.xz spice-6bdf38daf8796a596fe992bd79b79dd312870b89.zip |
surface: keep metadata (aka create command) in device memory.
With this patch applied the spice server will not release surface create
commands for the whole lifecycle of the surface. When the surface is
destroyed both create and destroy commands are released.
This has the effect that the surface metadata (size, depth, ...) is kept
in qxl device memory. This in turn makes it alot easier for qemu to
handle savevm/loadvm. It just needs to do some minimal command parsing
and maintain pointers to the create commands for the active surfaces.
Diffstat (limited to 'server/red_worker.h')
0 files changed, 0 insertions, 0 deletions