| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
We move all message structs from spice-protocol to spice as
we want to be able to change these as needed internally. The
on-network format is no longer defined by these structures anyway,
but rather by the spice protocol description.
|
| |
|
| |
|
|
|
|
| |
I don't know why this was disabled but it seems like a bad idea
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
bitmaps support related)
|
| |
|
| |
|
|
|
|
|
|
| |
When a surface is sent to the client using red_send_surface_image, operations were already
performed on it. Thus it may combine, especially if it is a primary surface, both "picture-like" areas
and areas that are more "artificial". In order to avoid noticeable artifacts, such surface will be sent lossless.
|
|
|
|
| |
jpeg compression is enabled
|
|
|
|
|
|
|
| |
have been sent lossy.
The code also handles cases in which the server doesn't hold anymore these surfaces parts, i.e., when
it holds a more updated version of them. This scenario is handled by replacing commands that were rendered, with images.
|
| |
|
| |
|
|
|
|
|
|
| |
1) add an option to determine if a bitmap can be sent lossy to the client
2) when required, replacing lossy cache items with their correspending
lossless bitmaps
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
severty -> severity
SpiceResorceID -> SpiceResourceID
SpiceResorceList -> SpiceResourceList
resorces -> resources
ped_size -> pad_size
postition -> position
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit 08927fabe57c17086fe3bce3a9ca166e2309349e.
|
| |
|
|
|
|
|
|
|
|
| |
Supposed to be used for work-in-progress bits,
where interfaces are not finalized yet.
Moved over vdi port interface, tunnel interface
and spice client migration functions.
|
|
|
|
| |
move over content to spice.h
|
|
|
|
|
| |
Drop leftover bits which are not used any more.
Rename DrawArea to QXLDrawArea.
|
| |
|
|
|
|
| |
Remove remaining MigrationInterface bits.
|
|
|
|
| |
Add new API for migration, based on what RHEL-6 has.
|
| |
|
|
|
|
| |
Drop all code which depends on accessing the migration file handle.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add worker->loadvm_commands. qemu will uses this to send a series of
commands needed to restore state after savevm/loadvm and migration.
That will be one create-surface command per surface and one cursor-set
command for the local pointer.
The worker->save/load functions are not needed any more.
Likewise the interface->{get,set}_save_data callbacks.
Surfaces created via loadvm_commands *will* not be cleared. Also
primary surfaces are not cleared any more (unconditionally, although
we could do that conditionally on loadvm using the flags field in
QXLSurfaceCreate).
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Not needed. Just register/unregister the tablet interface instead.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pretty straight forward.
One thing we should think about is if and how we are going to deal
with multiple ports here?
With vdi port using virtio-serial as communication channel to the guest
it is easy to have multiple ports, i.e. we might want to use a second
instance for clipboard data. That implies that we need support for
multiple channels all the way through the stack ...
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This is the direction I wanna take with all interfaces: Clearly
separate interface (aka version information and function pointers)
and state information. SpiceKbdInterface defines the interface,
SpiceKbdInstance maintains per-instance state information. Keyboard
hasn't much beside a pointer to SpiceKbdInterface, for other
interfaces this very likely will be different.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
VDInterface has been renamed to SpiceBaseInterface. Dropped base_version
element, shlib versioning should be used instead. Dropped id element,
it is passed to spice_server_add_interface() instead. Now
SpiceBaseInterface has static information only, multiple interface
instances can share it.
Added SpiceBaseInstance struct for maintaining per-instance state
information. Adapted spice_server_{add,remove}_interface() functions
to the new world.
|