summaryrefslogtreecommitdiff
path: root/tests/qemuxml2xmltest.c
diff options
context:
space:
mode:
authorAndrea Bolognani <abologna@redhat.com>2017-02-20 18:20:26 +0100
committerAndrea Bolognani <abologna@redhat.com>2017-07-15 14:50:42 +0200
commitbd01ab8c1f5d7c7486c9c439b4184e06a050d2ee (patch)
tree9ed7ffa6687157a98b5b04000601fceed3a877f6 /tests/qemuxml2xmltest.c
parent210dd0c58d6f7b12fea65ce1fa42b343de4219b6 (diff)
downloadlibvirt-bd01ab8c1f5d7c7486c9c439b4184e06a050d2ee.tar.gz
tests: Add tests for pSeries guests with multiple PHBs
Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Laine Stump <laine@laine.org>
Diffstat (limited to 'tests/qemuxml2xmltest.c')
-rw-r--r--tests/qemuxml2xmltest.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
index c03cbe98ea..6319b0fdfd 100644
--- a/tests/qemuxml2xmltest.c
+++ b/tests/qemuxml2xmltest.c
@@ -666,6 +666,13 @@ mymain(void)
DO_TEST("pseries-panic-missing", NONE);
DO_TEST("pseries-panic-no-address", NONE);
+ DO_TEST("pseries-phb-simple",
+ QEMU_CAPS_NODEFCONFIG,
+ QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE);
+ DO_TEST("pseries-phb-default-missing",
+ QEMU_CAPS_NODEFCONFIG,
+ QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE);
+
DO_TEST("balloon-device-auto", NONE);
DO_TEST("balloon-device-period", NONE);
DO_TEST("channel-virtio-auto", NONE);