Commit Graph

4 Commits

Author SHA1 Message Date
Frediano Ziglio
bd378ad956 memslot: Detect host addresses and threat them verbatim
This allows to fix https://gitlab.freedesktop.org/spice/spice/-/issues/88.
Some technologies like ARM64 TBI, AMD UAI or Intel LAM use higher
address bits to store some additional information.
We should preserve such bits.
In order to do that detect if the group is for host addresses and
threat the address verbatim.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Tested-by: Momin Juned
2025-04-21 19:16:48 +01:00
Frediano Ziglio
a3a007efe2 Remove unused RedMemSlotInfo::internal_groupslot_id field
Last usage was commit d56745df19
(cfr "dcc: remove group_id from compression functions").

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
2025-03-24 21:32:35 +00:00
Frediano Ziglio
6eac8cc08f red-parse-qxl: Use a base reference class for RedSurfaceCmd
Don't code manually reference counting for this structure

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Victor Toso <victortoso@redhat.com>
2021-08-04 13:01:07 +01:00
Frediano Ziglio
1d4fb2fee7 red-parse-qxl: Use a base reference class for RedCursorCmd
Don't code manually reference counting for this structure

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Victor Toso <victortoso@redhat.com>
2021-08-04 13:01:05 +01:00