[libvirt] [PATCHv3 0/4] Hyper-v crash feature support

Dmitry Andreev dandreev at virtuozzo.com
Fri Nov 13 08:30:30 UTC 2015


A new Hyper-V cpu feature 'hv_crash' was added to QEMU. The feature
will become available in v2.5.0. 

This patch adds support for this feature.

The previous version of this patch is  
https://www.redhat.com/archives/libvir-list/2015-November/msg00400.html

What is changed:
 * 'model' is an optional attribute and will not be added
   if it wasn't specified by the user [1/4]
 * docs text fixed [1/4] [3/4] 
 * schema and code allows multiple panic devices [3/4]
 * more tests is added and all changes in old tests
   are removed [4/4] 

What isn't changed:

I didn't add <code> tag around model values in docs because there
are many examples of "<ul><li> 'value' —" without a <code> tag.

Dmitry Andreev (4):
  conf: add 'model' attribute for panic device with values isa, pseries,
    hyperv
  qemu: add support for hv_crash feature as a panic device
  schema: allow multiple panic devices
  tests: add tests for panic models and multiple panic devices

 docs/formatdomain.html.in                          |  19 +++-
 docs/schemas/domaincommon.rng                      |  13 ++-
 src/conf/domain_conf.c                             | 101 ++++++++++++---------
 src/conf/domain_conf.h                             |  15 ++-
 src/qemu/qemu_command.c                            |  84 +++++++++++++++--
 src/qemu/qemu_domain.c                             |  21 ++++-
 tests/qemuargv2xmltest.c                           |   1 +
 .../qemuxml2argv-hyperv-panic.args                 |  21 +++++
 .../qemuxml2argvdata/qemuxml2argv-hyperv-panic.xml |  25 +++++
 .../qemuxml2argv-panic-double.args                 |  21 +++++
 .../qemuxml2argvdata/qemuxml2argv-panic-double.xml |  28 ++++++
 tests/qemuxml2argvdata/qemuxml2argv-panic-isa.xml  |  31 +++++++
 .../qemuxml2argv-panic-pseries.xml                 |  30 ++++++
 tests/qemuxml2argvtest.c                           |   3 +
 tests/qemuxml2xmltest.c                            |   4 +
 15 files changed, 353 insertions(+), 64 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hyperv-panic.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hyperv-panic.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-panic-double.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-panic-double.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-panic-isa.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-panic-pseries.xml

-- 
1.8.3.1




More information about the libvir-list mailing list