]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Process new 'append' attribute for char dev with output to a file
authorDmitry Mishin <dim@virtuozzo.com>
Thu, 24 Dec 2015 14:27:55 +0000 (17:27 +0300)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 24 Dec 2015 14:50:33 +0000 (14:50 +0000)
commit53a15aed39500d1e9fa297043109bbbe65c8dcd0
tree1180b8141133554eb143ca8991a67ee8e67a5d2f
parent70ffa02fc22d7484a84ab3511ff0d6fd105e6018
qemu: Process new 'append' attribute for char dev with output to a file

By default, QEMU truncates serial file on open. Sometimes, it could be weird -
for example, when we are trying to investigate some event, which occured several
restarts ago. This patch adds an ability to preserve previous content.

Signed-off-by: Dmitry Mishin <dim@virtuozzo.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
tests/qemucapabilitiesdata/caps_2.6.0-1.caps
tests/qemuxml2argvdata/qemuxml2argv-serial-file-chardev.args
tests/qemuxml2argvdata/qemuxml2argv-serial-file-chardev.xml
tests/qemuxml2argvtest.c