2 * QTest testcase for SPAPR PHB
7 * This work is licensed under the terms of the GNU GPL, version 2 or later.
8 * See the COPYING file in the top-level directory.
10 #include "qemu/osdep.h"
15 #define TYPE_SPAPR_PCI_HOST_BRIDGE "spapr-pci-host-bridge"
17 /* Tests only initialization so far. TODO: Replace with functional tests */
18 static void test_phb_device(void)
22 int main(int argc, char **argv)
26 g_test_init(&argc, &argv, NULL);
27 qtest_add_func("/spapr-phb/device", test_phb_device);
29 qtest_start("-device " TYPE_SPAPR_PCI_HOST_BRIDGE ",index=100");