summaryrefslogtreecommitdiffstats
path: root/server/vd_interface.h
Commit message (Collapse)AuthorAgeFilesLines
* zap vd_interface.hGerd Hoffmann2010-05-191-359/+0
| | | | move over content to spice.h
* vd_interface.h cleanups.Gerd Hoffmann2010-05-191-36/+3
| | | | | Drop leftover bits which are not used any more. Rename DrawArea to QXLDrawArea.
* NetWireInterface: redesignGerd Hoffmann2010-05-191-12/+17
|
* zap MigrationInterfaceGerd Hoffmann2010-05-191-11/+0
| | | | Remove remaining MigrationInterface bits.
* migration: new apiGerd Hoffmann2010-05-191-7/+0
| | | | Add new API for migration, based on what RHEL-6 has.
* zap migration codeGerd Hoffmann2010-05-191-5/+2
| | | | Drop all code which depends on accessing the migration file handle.
* replace worker load/save with loadvm_commands, allow keeping surface contentGerd Hoffmann2010-05-191-4/+1
| | | | | | | | | | | | | | | 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).
* vdi port: redesign.Gerd Hoffmann2010-05-191-16/+17
| | | | | | | | | | | | 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 ...
* constify SpiceBaseInterfaceGerd Hoffmann2010-05-191-1/+1
|
* SoundInterfaces: redesignGerd Hoffmann2010-05-191-42/+42
|
* TabletInterface: redesignGerd Hoffmann2010-05-191-10/+17
|
* QXL: redesign.Gerd Hoffmann2010-05-191-19/+26
|
* MouseInterface: redesignGerd Hoffmann2010-05-191-9/+16
|
* KeyboardInterface: redesign.Gerd Hoffmann2010-05-191-12/+15
| | | | | | | | | 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.
* s/CoreInterface/SpiceCoreInterface/Gerd Hoffmann2010-05-191-12/+5
|
* VDInterface: redesign.Gerd Hoffmann2010-05-191-20/+21
| | | | | | | | | | | | 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.
* minor timer interface cleanups.Gerd Hoffmann2010-05-191-5/+7
| | | | | | Make the timer interface largely look like the watch interface. Simliar naming convention for the functions (timer_*) and a opaque SpiceTimer type.
* new watch api: kill old apiGerd Hoffmann2010-05-191-5/+0
|
* introduce new watch apiGerd Hoffmann2010-05-191-0/+11
| | | | | | | | | | | | | | | | | | | | | | This patch adds a new file handle watch interface to libspice, featuring three callbacks: (1) watch_add() -- create a new file watch. (2) watch_update_mask() -- change event mask. spice frequently enables/disables write notification. (3) watch_remove() -- remove a file watch. libspice users must implement these functions to allow libspice monitoring file handles. The old interface (set_file_handlers) doesn't explicitly express the lifecycle of a watch. Also it maps 1:1 to a qemu-internal function. In case the way qemu implements file watches changes (someone sayed QemuIONotifier?) this will break horribly. Beside that it is very bad style. Follwing patches will switch over users one by one to the new interface and finally zap the old one.
* zap CoreInterface->{term_printf,log}Gerd Hoffmann2010-05-191-4/+0
| | | | | Was used to print stuff to the qemu monitor. Fundamentally incompatible with QMP. Remove.
* zap qterm interfacesGerd Hoffmann2010-05-191-50/+0
| | | | old way to handle monitor, obsolete.
* zap CoreInterface->(un)register_change_notifiers()Gerd Hoffmann2010-05-191-4/+0
| | | | | spice_server_add_interface() and spice_server_remove_interface() can be used instead.
* zap CoreInterface->next()Gerd Hoffmann2010-05-191-2/+0
| | | | | | | Interfaces must be registered after spice_server_init(). The "next" callback is used to discover interfaces registered before spice_server_init(). Which is a empty list and thus pretty pointless. Remove it.
* Make each surface its own depth/formatAlexander Larsson2010-04-231-1/+1
| | | | | | | | Surface creation now specifies the exact format, not only the bit depth of each surface which is used for rendering. Additionally we now actually store the surfaces in that format, instead of converting everything to 32bpp when drawing or e.g. handling palettes.
* spice: server: change update_area commandIzik Eidus2010-04-141-2/+4
| | | | | | | | The new command return dirty area to be used by users that want spice to render localy or into some framebuffer (sdl / vnc) Signed-off-by: Izik Eidus <ieidus@redhat.com>
* libspice: add off screens supportIzik Eidus2010-04-031-1/+4
| | | | Signed-off-by: Izik Eidus <ieidus@redhat.com>
* Rename symbols that were changed in spice-protocolAlexander Larsson2010-02-041-1/+1
| | | | | | This is an automatic change using: $ find -name "*.[ch]" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames $ find -name "*.cpp" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames
* libspice: add surface 0 supportIzik Eidus2010-01-281-11/+33
| | | | | | This include alot of infestracture for off screens. Signed-off-by: Izik Eidus <ieidus@redhat.com>
* server: add new vd interface QTerm2InterfaceYaniv Kamay2010-01-061-0/+50
|
* spice: server: add memslots support.Izik Eidus2009-11-231-6/+21
| | | | Signed-off-by: Izik Eidus <ieidus@redhat.com>
* tunnelYonit Halperin2009-10-181-0/+18
|
* fresh startYaniv Kamay2009-10-141-0/+334