mirror of
https://github.com/qemu/qemu.git
synced 2026-05-17 15:39:58 +00:00
chardev/spice: simplify chardev setup
Initialize spice before chardevs. That allows to register the spice chardevs directly in the init function and removes the need to maintain a linked list of chardevs just for registration. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20201014121120.13482-5-kraxel@redhat.com
This commit is contained in:
@@ -13,7 +13,6 @@ struct SpiceChardev {
|
||||
bool blocked;
|
||||
const uint8_t *datapos;
|
||||
int datalen;
|
||||
QLIST_ENTRY(SpiceChardev) next;
|
||||
};
|
||||
typedef struct SpiceChardev SpiceChardev;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user