diff --git a/tests/testdriver.xml b/tests/testdriver.xml index 49fa6ef6c..d9e991016 100644 --- a/tests/testdriver.xml +++ b/tests/testdriver.xml @@ -344,6 +344,11 @@ + + + +
+ diff --git a/tests/xmlconfig-xml/boot-many-devices.xml b/tests/xmlconfig-xml/boot-many-devices.xml index 1db17a57f..0f012120f 100644 --- a/tests/xmlconfig-xml/boot-many-devices.xml +++ b/tests/xmlconfig-xml/boot-many-devices.xml @@ -101,6 +101,9 @@ + +
+ diff --git a/tests/xmlconfig.py b/tests/xmlconfig.py index 2677b0822..98ac0c6af 100644 --- a/tests/xmlconfig.py +++ b/tests/xmlconfig.py @@ -30,6 +30,7 @@ from virtinst import VirtualVideoDevice from virtinst import VirtualController from virtinst import VirtualWatchdog from virtinst import VirtualMemballoon +from virtinst import VirtualPanicDevice from tests import utils @@ -875,6 +876,10 @@ class TestXMLConfig(unittest.TestCase): g.add_device(redir1) g.add_device(redir2) + #Panic Notifier device + pdev = VirtualPanicDevice(g.conn) + g.add_device(pdev) + self._compare(g, "boot-many-devices", False) def testCpuset(self): diff --git a/tests/xmlparse-xml/change-panic-device-in.xml b/tests/xmlparse-xml/change-panic-device-in.xml new file mode 100644 index 000000000..052723a49 --- /dev/null +++ b/tests/xmlparse-xml/change-panic-device-in.xml @@ -0,0 +1,62 @@ + + Ftest + 9d544d2e-e001-a6b2-4aa7-7768796353ea + 1048576 + 1048576 + 1 + + hvm + + + + + + + + + destroy + restart + restart + + /usr/local/bin/qemu-system-x86_64 + + + + + + +
+ + + +
+ + +
+ + + + + +
+ + + + + + + + + +