mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-30 17:49:02 +00:00
server/red_memslots: drop two unused functions
cb_get_virt and cb_validate_virt have disappeared a long time ago,
not needed since:
commit 5ac88aa79f
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).
This commit is contained in:
parent
64e0974114
commit
f360273614
@ -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;
|
||||
|
||||
@ -60,11 +60,6 @@ unsigned long get_virt(RedMemSlotInfo *info, unsigned long addr, uint32_t add_si
|
||||
int group_id);
|
||||
|
||||
void *validate_chunk (RedMemSlotInfo *info, QXLPHYSICAL data, uint32_t group_id, uint32_t *data_size_out, QXLPHYSICAL *next_out);
|
||||
void *cb_get_virt(void *opaque, unsigned long addr,
|
||||
uint32_t add_size, uint32_t group_id);
|
||||
void cb_validate_virt(void *opaque,
|
||||
unsigned long virt, unsigned long from_addr,
|
||||
uint32_t add_size, uint32_t group_id);
|
||||
void red_memslot_info_init(RedMemSlotInfo *info,
|
||||
uint32_t num_groups, uint32_t num_slots,
|
||||
uint8_t generation_bits,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user