summaryrefslogtreecommitdiffstats
path: root/server/red_memslots.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-03-21 17:55:23 +0200
committerAlon Levy <alevy@redhat.com>2012-03-21 17:56:39 +0200
commitf360273614ac06493ea5a9d501036fa36d3224ee (patch)
tree264a1f77064bb714ee6828492d5169aa4842db91 /server/red_memslots.c
parent64e0974114e4b7e5d737fdf1c19338751064fd0d (diff)
downloadspice-f360273614ac06493ea5a9d501036fa36d3224ee.tar.gz
spice-f360273614ac06493ea5a9d501036fa36d3224ee.tar.xz
spice-f360273614ac06493ea5a9d501036fa36d3224ee.zip
server/red_memslots: drop two unused functions
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).
Diffstat (limited to 'server/red_memslots.c')
-rw-r--r--server/red_memslots.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/server/red_memslots.c b/server/red_memslots.c
index d98f38c1..50572183 100644
--- a/server/red_memslots.c
+++ b/server/red_memslots.c
@@ -127,20 +127,6 @@ unsigned long get_virt(RedMemSlotInfo *info, unsigned long addr, uint32_t add_si
return h_virt;
}
-void *cb_get_virt(void *opaque, unsigned long addr,
- uint32_t add_size, uint32_t group_id)
-{
- return (void *)get_virt((RedMemSlotInfo *)opaque, addr, add_size, group_id);
-}
-
-void cb_validate_virt(void *opaque,
- unsigned long virt, unsigned long from_addr,
- uint32_t add_size, uint32_t group_id)
-{
- int slot_id = get_memslot_id((RedMemSlotInfo *)opaque, from_addr);
- validate_virt((RedMemSlotInfo *)opaque, virt, slot_id, add_size, group_id);
-}
-
void *validate_chunk (RedMemSlotInfo *info, QXLPHYSICAL data, uint32_t group_id, uint32_t *data_size_out, QXLPHYSICAL *next_out)
{
QXLDataChunk *chunk;