[libvirt] [PATCHv2 0/3] 'Append' attribute for serial ports output to file

Dmitry Mishin dim at virtuozzo.com
Thu Dec 24 14:27:52 UTC 2015


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 set adds an ability to preserve previous content.

Dmitry Mishin (3):
  tests: add qemu 2.6 caps test
  conf: Add new 'append' attribute for chardevs with file source
  qemu: Process new 'append' attribute for char dev with output to a
    file

 docs/schemas/domaincommon.rng                      |    5 +
 src/conf/domain_conf.c                             |   28 +-
 src/conf/domain_conf.h                             |    1 +
 src/qemu/qemu_capabilities.c                       |    2 +
 src/qemu/qemu_capabilities.h                       |    1 +
 src/qemu/qemu_command.c                            |   10 +
 tests/qemucapabilitiesdata/caps_2.6.0-1.caps       |  173 +
 tests/qemucapabilitiesdata/caps_2.6.0-1.replies    | 4043 ++++++++++++++++++++
 tests/qemucapabilitiestest.c                       |    1 +
 .../qemuxml2argv-serial-file-chardev.args          |    2 +-
 .../qemuxml2argv-serial-file-chardev.xml           |    2 +-
 tests/qemuxml2argvtest.c                           |    3 +-
 12 files changed, 4264 insertions(+), 7 deletions(-)
 create mode 100644 tests/qemucapabilitiesdata/caps_2.6.0-1.caps
 create mode 100644 tests/qemucapabilitiesdata/caps_2.6.0-1.replies

-- 
1.8.3.1




More information about the libvir-list mailing list