mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-04 11:51:41 +00:00
Allows to have more than 1 QXL device
This was introduced with 96e94c6f32
(Convert RedChannel hierarchy to GObject).
The id of CursorChannel/DisplayChannel were always 0 causing
a wrong assertion on the code.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
6fe8d5d49d
commit
2f18466293
@ -312,6 +312,7 @@ CursorChannel* cursor_channel_new(RedsState *server, QXLInstance *qxl,
|
||||
"spice-server", server,
|
||||
"core-interface", core,
|
||||
"channel-type", SPICE_CHANNEL_CURSOR,
|
||||
"id", qxl->id,
|
||||
"migration-flags", 0,
|
||||
"qxl", qxl,
|
||||
"handle-acks", TRUE,
|
||||
|
||||
@ -1988,6 +1988,7 @@ DisplayChannel* display_channel_new(RedsState *reds,
|
||||
"spice-server", reds,
|
||||
"core-interface", core,
|
||||
"channel-type", SPICE_CHANNEL_DISPLAY,
|
||||
"id", qxl->id,
|
||||
"migration-flags",
|
||||
(SPICE_MIGRATE_NEED_FLUSH | SPICE_MIGRATE_NEED_DATA_TRANSFER),
|
||||
"qxl", qxl,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user