[libvirt] [PATCH v3 0/4] add support for panic device

Hu Tao hutao at cn.fujitsu.com
Mon Dec 9 09:11:12 UTC 2013


panic device is a device that enables libvirt to receive notification of
guest panic event. qemu implements it by pvpanic. This series adds support
for panic device. It is implemented in qemu driver only.

changes in v3:

  - introduce generic ISA address
  - rename pvpanic to panic.
  - add RNG schemas for new elements
  - add tests for panic device
  - error out if panic device is requested but qemu is too old

Hu Tao (4):
  conf: introduce generic ISA address
  conf: add support for panic device
  qemu: add support for -device pvpanic
  test: add test for panic device

 docs/formatdomain.html.in                      |  33 ++++++
 docs/schemas/basictypes.rng                    |  17 ++++
 docs/schemas/domaincommon.rng                  |  16 +++
 src/conf/domain_conf.c                         | 135 ++++++++++++++++++++++++-
 src/conf/domain_conf.h                         |  18 ++++
 src/qemu/qemu_capabilities.c                   |   3 +
 src/qemu/qemu_capabilities.h                   |   2 +
 src/qemu/qemu_command.c                        |  16 +++
 tests/qemucapabilitiesdata/caps_1.5.3-1.caps   |   1 +
 tests/qemucapabilitiesdata/caps_1.6.0-1.caps   |   1 +
 tests/qemucapabilitiesdata/caps_1.6.50-1.caps  |   1 +
 tests/qemuxml2argvdata/qemuxml2argv-panic.args |   6 ++
 tests/qemuxml2argvdata/qemuxml2argv-panic.xml  |  31 ++++++
 tests/qemuxml2argvtest.c                       |   3 +
 tests/qemuxml2xmltest.c                        |   2 +
 15 files changed, 284 insertions(+), 1 deletion(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-panic.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-panic.xml

-- 
1.7.11.7




More information about the libvir-list mailing list