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.
Dmitry Andreev (3):
conf: add 'model' attribute for panic device with values isa, pseries,
hyperv
qemu: add support for hv_crash feature as a panic device
tests: add tests for panic device with model 'hyperv'
docs/formatdomain.html.in | 29 ++++++++++++-
docs/schemas/domaincommon.rng | 9 ++++
src/conf/domain_conf.c | 33 ++++++++++++---
src/conf/domain_conf.h | 10 +++++
src/qemu/qemu_command.c | 48 +++++++++++++++++++---
src/qemu/qemu_domain.c | 4 ++
tests/qemuargv2xmltest.c | 1 +
.../qemuxml2argv-hyperv-panic.args | 21 ++++++++++
.../qemuxml2argvdata/qemuxml2argv-hyperv-panic.xml | 25 +++++++++++
.../qemuxml2argv-panic-no-address.xml | 2 +-
tests/qemuxml2argvdata/qemuxml2argv-panic.xml | 2 +-
.../qemuxml2argvdata/qemuxml2argv-pseries-disk.xml | 2 +-
.../qemuxml2argv-pseries-nvram.xml | 2 +-
.../qemuxml2argv-pseries-panic-address.xml | 2 +-
.../qemuxml2argv-pseries-panic-no-address.xml | 2 +-
tests/qemuxml2argvtest.c | 1 +
.../qemuxml2xmlout-pseries-panic-missing.xml | 2 +-
tests/qemuxml2xmltest.c | 1 +
18 files changed, 176 insertions(+), 20 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hyperv-panic.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hyperv-panic.xml
--
1.8.3.1