mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-01 04:45:37 +00:00
red-parse-qxl: Add a note on red_get_cursor
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
This commit is contained in:
parent
f03d094942
commit
4466230a85
@ -1566,6 +1566,10 @@ static bool red_get_cursor(RedMemSlotInfo *slots, int group_id,
|
||||
} else {
|
||||
red->data = (uint8_t*) g_memdup(data, size);
|
||||
}
|
||||
// Arrived here we could note that we are not going to use anymore cursor data
|
||||
// and we could be tempted to release resource back to QXL. Don't do that!
|
||||
// If machine is migrated we will get cursor data back so we need to hold this
|
||||
// data for migration
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user