[PATCH 0/6] qemu: Allow control of deprecation behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For debugging purposes it's very useful to disable all deprecated
commands and fields in qemu. This series implements a qemu.conf knob and
a qemu namespace element to control this.

The implementation tries to be very conservative to allow downgrades of
qemu and such without breaking the startup of the VM.

The intention is that developers and CI deployments use the 'crash'
option to catch any unexpected qemu disappearance.

Note that this applies on top of my series for -object QAPIfication.

Based on Markus' -compat series which was now merged to upstream qemu.

Peter Krempa (6):
  docs/drvqemu: Convert to RST
  qemu: capabilities: Introduce QEMU_CAPS_COMPAT_DEPRECATED
  qemu: conf: Add 'deprecation_behavior' setting to qemu.conf
  qemuxml2xmltest: Enable 'qemu-ns' case
  qemu: Add per-VM control of deprecation behavior
  qemu: command: Handle formatting of '-compat' options

 docs/drvqemu.html.in                          | 743 ------------------
 docs/drvqemu.rst                              | 636 +++++++++++++++
 docs/formatdomain.rst                         |   2 +-
 docs/manpages/virt-qemu-run.rst               |   2 +-
 docs/meson.build                              |   2 +-
 docs/schemas/domaincommon.rng                 |  16 +
 src/qemu/libvirtd_qemu.aug                    |   1 +
 src/qemu/qemu.conf                            |  31 +
 src/qemu/qemu_capabilities.c                  |   8 +
 src/qemu/qemu_capabilities.h                  |   1 +
 src/qemu/qemu_command.c                       |  80 ++
 src/qemu/qemu_conf.c                          |   4 +
 src/qemu/qemu_conf.h                          |   2 +
 src/qemu/qemu_domain.c                        |  10 +-
 src/qemu/qemu_domain.h                        |   5 +
 src/qemu/test_libvirtd_qemu.aug.in            |   1 +
 .../caps_6.0.0.x86_64.xml                     |   1 +
 .../qemu-ns.x86_64-latest.args                |   1 +
 tests/qemuxml2argvdata/qemu-ns.xml            |   1 +
 .../qemu-ns.x86_64-latest.xml                 |  52 ++
 tests/qemuxml2xmltest.c                       |   1 +
 21 files changed, 853 insertions(+), 747 deletions(-)
 delete mode 100644 docs/drvqemu.html.in
 create mode 100644 docs/drvqemu.rst
 create mode 100644 tests/qemuxml2xmloutdata/qemu-ns.x86_64-latest.xml

-- 
2.29.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux