summaryrefslogtreecommitdiffstats
path: root/server/red_memslots.c
Commit message (Collapse)AuthorAgeFilesLines
* server: remove memslot unused functionsMarc-André Lureau2013-10-011-48/+0
|
* Add support for QXLComposite to spice serverSøren Sandmann Pedersen2012-08-241-1/+1
| | | | | | In red-parse-qxl.c add support for parsing QXLComposite into SpiceComposite. In red-worker.c add support for marshalling SpiceComposite onto the wire.
* server: allow failure in getvirtAlon Levy2012-04-051-8/+34
| | | | | | | This patch changed getvirt to continue working even if spice_critical doesn't abort (i.e. SPICE_ABORT_LEVEL != -1). This is in preparation to make getvirt not abort at all. The reason is that getvirt is run on guest provided memory, so a bad driver can crash the vm.
* Use the spice-common logging functionsMarc-André Lureau2012-03-251-14/+14
| | | | | It will abort by default for critical level messages. That behaviour can be tuned at runtime.
* server/red_memslots: don't assume 64 bit environmentAlon Levy2012-03-211-5/+8
| | | | | | assumption that unsigned long == QXLPHYSICAL causes get_virt to compute the wrong slot. Fix by replacing addr variables to be of type QXLPHYSICAL.
* server/red_memslots: use QXLPHYSICAL for addressesAlon Levy2012-03-211-1/+1
| | | | | Cannot assume unsigned long == QXLPHYSICAL, not true for 32 bit architectures.
* server/red_memslots: drop two unused functionsAlon Levy2012-03-211-14/+0
| | | | | | | | | | | | | | cb_get_virt and cb_validate_virt have disappeared a long time ago, not needed since: commit 5ac88aa79fa6445f96e5419d8bf4fce81da63b90 Author: Gerd Hoffmann <kraxel@redhat.com> Date: Thu Jul 1 17:55:33 2010 +0200 Properly parse QXLImage to the new-world SpiceImage SpiceImage now replaces RedImage and has all image types in it. All image data are now chunked (and as such not copied when demarshalling).
* add #include <config.h> to all source filesChristophe Fergeau2011-05-031-0/+3
| | | | | | | | When using config.h, it must be the very first include in all source files since it contains #define that may change the compilation process (eg libc structure layout changes when it's used to enable large file support on 32 bit x86 archs). This commit adds it at the beginning of all .c and .cpp files
* improve memory slot error logging.Gerd Hoffmann2010-06-291-4/+7
|
* Fix spelling errors in comments and stringsAlexander Larsson2010-05-211-1/+1
|
* Relicense everything from GPL to LGPL 2.1+Alexander Larsson2010-04-131-9/+9
|
* spice server: fix validate_chunkIzik Eidus2010-04-121-0/+1
| | | | Signed-off-by: Izik Eidus <ieidus@redhat.com>
* Split out the memslot stuff from red_worker.c to its own filesAlexander Larsson2010-04-091-0/+210
This is required so that we can have code in other files that does address validation.