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
Showing
- chardev/spice.c 6 additions, 23 deletionschardev/spice.c
- include/chardev/spice.h 0 additions, 1 deletioninclude/chardev/spice.h
- include/ui/qemu-spice.h 0 additions, 1 deletioninclude/ui/qemu-spice.h
- softmmu/vl.c 5 additions, 4 deletionssoftmmu/vl.c
- ui/spice-app.c 9 additions, 8 deletionsui/spice-app.c
- ui/spice-core.c 0 additions, 2 deletionsui/spice-core.c
Loading
Please register or sign in to comment