summaryrefslogtreecommitdiffstats
path: root/server/reds.c
Commit message (Collapse)AuthorAgeFilesLines
* Add API to turn on backwards compatibility modeAlexander Larsson2010-09-021-0/+20
| | | | | | | | | | | | | | | | | | When upgrading a cluster of machines you typically do this by upgrading a set of machines at a time, making the new machines run the new software version, but in a fashion compatible with the old versions (in terms of e.g. migration). Then when all machines are upgrades, any new features in the new version can be enabled. This API allows qemu to limit the set of features that spice uses to those compatible with an older version, in order to do an upgrade like this. Right now it doesn't really do much, since we don't keep compat with 0.4.0 atm (although that may be added later). There is no guarantee that any future version of spice support being compatible with any previous version. However, we will always support compatibility with the previous major version so that clusters can be upgraded step by step.
* server: when woken up by data ready to be read, don't call write.Alon Levy2010-08-311-1/+1
| | | | | | | | | This used to be a callback for the vdi_port "data ready" interrupt, which did indicate either data ready to read or data ready to write, but this is no longer the case now that virtio-serial is used. This seemingly simple fix prevents a race that needs to be fixed with another patch, see freedesktop bz #29903
* server: retry mouse send on queue fullAlon Levy2010-08-311-0/+1
|
* server: bugfix - make vdi_port_write_retry reiterate if write_queue still ↵Alon Levy2010-08-311-1/+1
| | | | | | | | | not empty The vdi_port_write_timer_started flag was not being reset, which prevented another vdi_port_write_timer_start from actually starting the timer. Fix is to change order of lines. This happens in the callback of the timer, so no chance of double timer set.
* server: add subtype to SpiceCharDeviceInterface, use for vdagentAlon Levy2010-08-311-7/+48
|
* server: rename SpiceVDIPort* to SpiceCharDevice*Alon Levy2010-08-311-24/+24
|
* Add config functions.Gerd Hoffmann2010-08-301-0/+27
| | | | | | A bunch of configuration functions where never ported forward from rhel-6 to upstream. Add them so we can add qemu config options for these settings.
* server: moved agent pipe headers to spice-protocolAlon Levy2010-08-301-10/+0
|
* server: add vdi_port write retry timer. RHBZ 616772Alon Levy2010-07-221-0/+30
|
* Don't do manual marshalling for input channelAlexander Larsson2010-07-211-45/+67
|
* codegen: Various cleanupsAlexander Larsson2010-07-191-7/+3
| | | | | | | | | | | | Remove all uses of @end in the marshaller, instead just using the C struct array-at-end-of-struct. To make this work we also remove all use of @end for switches (making them C unions). We drop the zero member of the notify message so that we can avoid this use of @end for a primitive in the marshaller (plus its useless to send over the wire). We change the offsets and stuff in the migration messages to real pointers.
* server vdi port: prevent recursive calls to read_from_vdi_port (required for ↵Alon Levy2010-07-191-7/+21
| | | | spice-vmc)
* server: enabling/disabling jpeg and zlib-over-glz via spice command line argsYonit Halperin2010-07-121-0/+26
|
* Make tunnel support optional in client tooAlexander Larsson2010-07-081-2/+4
|
* Fix various misspellingsAlexander Larsson2010-07-081-10/+10
| | | | | | | | | | | | | letancy -> latency compund -> compound SpicedSubMessage -> SpiceSubMessage modifaiers -> modifiers massage -> message outgoiong -> outgoing AlphaBlnd -> AlphaBlend remoth -> remote modifires -> modifiers secore -> secure
* Add destructor for demarshalled messagesAlexander Larsson2010-06-221-2/+4
| | | | | | | This is required because we don't want to free messages that just refer to the unparsed message (like SpiceMsgData). Also, in the future we might need it for more complex demarshalling.
* Use generated demarshallers in serverAlexander Larsson2010-06-181-20/+34
|
* Convert reds.c to use SpiceMarshallerAlexander Larsson2010-06-181-302/+211
|
* Use the new enums for keyboard modifier flagsAlexander Larsson2010-06-181-4/+6
|
* Fix some misspelled identifiersAlexander Larsson2010-05-211-1/+1
| | | | | | | | | severty -> severity SpiceResorceID -> SpiceResourceID SpiceResorceList -> SpiceResourceList resorces -> resources ped_size -> pad_size postition -> position
* Fix spelling errors in comments and stringsAlexander Larsson2010-05-211-17/+17
|
* Change leftover VD_INTERFACE_RECORD to SPICE_INTERFACE_RECORDAlexander Larsson2010-05-191-1/+1
|
* Revert "[debug] migration troubleshooting"Gerd Hoffmann2010-05-191-1/+1
| | | | This reverts commit 08927fabe57c17086fe3bce3a9ca166e2309349e.
* add spice-experimental.hGerd Hoffmann2010-05-191-0/+1
| | | | | | | | 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.
* vd_interface.h cleanups.Gerd Hoffmann2010-05-191-16/+0
| | | | | Drop leftover bits which are not used any more. Rename DrawArea to QXLDrawArea.
* NetWireInterface: redesignGerd Hoffmann2010-05-191-6/+8
|
* zap MigrationInterfaceGerd Hoffmann2010-05-191-16/+0
| | | | Remove remaining MigrationInterface bits.
* migration: new apiGerd Hoffmann2010-05-191-32/+75
| | | | Add new API for migration, based on what RHEL-6 has.
* [debug] migration troubleshootingGerd Hoffmann2010-05-191-1/+1
|
* zap migration codeGerd Hoffmann2010-05-191-633/+9
| | | | Drop all code which depends on accessing the migration file handle.
* kill spice_server_set_mouse_absoluteGerd Hoffmann2010-05-191-9/+0
| | | | Not needed. Just register/unregister the tablet interface instead.
* vdi port: redesign.Gerd Hoffmann2010-05-191-41/+54
| | | | | | | | | | | | 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-2/+2
|
* SoundInterfaces: redesignGerd Hoffmann2010-05-191-15/+15
|
* TabletInterface: redesignGerd Hoffmann2010-05-191-15/+26
|
* QXL: redesign.Gerd Hoffmann2010-05-191-9/+11
|
* MouseInterface: redesignGerd Hoffmann2010-05-191-10/+20
|
* KeyboardInterface: redesign.Gerd Hoffmann2010-05-191-31/+43
| | | | | | | | | 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-10/+4
|
* VDInterface: redesign.Gerd Hoffmann2010-05-191-168/+164
| | | | | | | | | | | | 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-20/+20
| | | | | | 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-2/+0
|
* new watch api: switch migrationGerd Hoffmann2010-05-191-29/+30
|
* new watch api: switch inputsGerd Hoffmann2010-05-191-25/+25
|
* new watch api: switch ssl acceptGerd Hoffmann2010-05-191-5/+19
|
* new watch api: switch main channelGerd Hoffmann2010-05-191-19/+21
|
* new watch api: switch liasync readGerd Hoffmann2010-05-191-13/+11
|
* new watch api: switch listening socketsGerd Hoffmann2010-05-191-14/+20
|
* fix visibilityGerd Hoffmann2010-05-191-24/+26
|
* zap CoreInterface->{term_printf,log}Gerd Hoffmann2010-05-191-43/+5
| | | | | Was used to print stuff to the qemu monitor. Fundamentally incompatible with QMP. Remove.