]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Honour 'virtlogd' use when hotplugging chardevs
authorPeter Krempa <pkrempa@redhat.com>
Wed, 9 Feb 2022 14:43:03 +0000 (15:43 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 14 Feb 2022 12:14:00 +0000 (13:14 +0100)
commitad81aa8ad07e52c9bd4840de84d2ed59998b4d2a
tree9ff279c30e17991704119c0c243d9222d61687cf
parentd86bfa631eb4e16b07c4aa10b8c7312b457dcfc2
qemu: Honour 'virtlogd' use when hotplugging chardevs

Setup the chardev similarly to how we do it on startup so that virtlogd
is properly used with chardevs which are hotplugged to a VM.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c
src/qemu/qemu_hotplug.c
src/qemu/qemu_hotplug.h
tests/qemuhotplugmock.c
tests/qemuhotplugtest.c