qemu: Automatically add <panic> element for pSeries guests.

The guest firmware provides the same functionality as the pvpanic
device, and the relevant element should always be present in the
domain XML to reflect this fact, so add it after parsing the
definition if it wasn't there already.
This commit is contained in:
Andrea Bolognani
2015-05-28 16:39:13 +02:00
committed by John Ferlan
parent 7bd769e0ab
commit 778c56f000
9 changed files with 90 additions and 0 deletions

View File

@@ -537,6 +537,7 @@ mymain(void)
DO_TEST("virtio-rng-egd");
DO_TEST("pseries-nvram");
DO_TEST_DIFFERENT("pseries-panic-missing");
DO_TEST("pseries-panic-no-address");
/* These tests generate different XML */