]> xenbits.xensource.com Git - libvirt.git/commit
qemu: introduce chardevStdioLogd to qemu private data
authorPavel Hrdina <phrdina@redhat.com>
Thu, 15 Jun 2017 06:34:55 +0000 (08:34 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 16 Jun 2017 13:52:11 +0000 (15:52 +0200)
commitf9758109a766c565c4938795aee2fd9ad5fb7c5f
tree8db64ccdbca0c3cdc3bd58bfb161bde91a1326d5
parent1763a2e7e236a0d77ddfa35e9789368680b02f74
qemu: introduce chardevStdioLogd to qemu private data

In QEMU driver we can use virtlogd as stdio handler for source backend
of char devices if current QEMU is new enough and it's enabled in
qemu.conf.  We should store this information while starting a guest
because the config option may change while the guest is running.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_process.c