On a Wednesday in 2022, Peter Krempa wrote:
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(a)redhat.com>
---
src/qemu/qemu_driver.c | 3 +--
src/qemu/qemu_hotplug.c | 25 ++++++++++++++++++++++---
src/qemu/qemu_hotplug.h | 2 +-
tests/qemuhotplugmock.c | 11 +++++++++++
tests/qemuhotplugtest.c | 2 +-
5 files changed, 36 insertions(+), 7 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano