]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Allow panic device for pSeries guests
authorAndrea Bolognani <abologna@redhat.com>
Thu, 28 May 2015 14:39:12 +0000 (16:39 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 1 Jun 2015 10:16:29 +0000 (06:16 -0400)
commit7bd769e0ab86d7345c6331f3a4ca9b0317efae2b
treeff5d75dc1c870ba1851b47a544dd7424eb0e7508
parentb4ac4a4057751f72a72bd3c69607cea3a75710eb
qemu: Allow panic device for pSeries guests

The guest firmware provides the same functionality as the pvpanic
device, which is not available in QEMU on pSeries, so the domain
XML should be allowed to contain the <panic> element.

On the other hand, unlike the pvpanic device, the guest firmware
can't be configured, so report an error if an address has been
provided in the XML.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1182388
docs/formatdomain.html.in
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-pseries-panic-address.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-pseries-panic-no-address.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-pseries-panic-no-address.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c