chardev/spice: simplify chardev setup
commit93ab5844b2cd5367966d7b5bae154e0d3303b504
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 14 Oct 2020 12:11:17 +0000 (14 14:11 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 15 Oct 2020 09:14:40 +0000 (15 11:14 +0200)
treefdc01b73d9999cb0970d77105fd24a44b25efceb
parent70122d62302c97bcd205956a544b8e79f2a4a50f
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
chardev/spice.c
include/chardev/spice.h
include/ui/qemu-spice.h
softmmu/vl.c
ui/spice-app.c
ui/spice-core.c