summaryrefslogtreecommitdiffstats
path: root/server/red_memslots.h
Commit message (Collapse)AuthorAgeFilesLines
* server: remove memslot unused functionsMarc-André Lureau2013-10-011-3/+0
|
* server: allow failure in getvirtAlon Levy2012-04-051-4/+5
| | | | | | | 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.
* server/red_memslots: don't assume 64 bit environmentAlon Levy2012-03-211-2/+2
| | | | | | 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-2/+2
| | | | | Cannot assume unsigned long == QXLPHYSICAL, not true for 32 bit architectures.
* server/red_memslots: drop two unused functionsAlon Levy2012-03-211-5/+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).
* Relicense everything from GPL to LGPL 2.1+Alexander Larsson2010-04-131-9/+9
|
* Split out the memslot stuff from red_worker.c to its own filesAlexander Larsson2010-04-091-0/+79
This is required so that we can have code in other files that does address validation.