diff options
author | Laurent Vivier <lvivier@redhat.com> | 2016-09-29 12:32:45 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-10-06 16:15:53 +1100 |
commit | 2ecd7e2f25a57e8966a15ee50a0afacd4ec067da (patch) | |
tree | 1b66fc28278e9e2955d67698659309c222bab97c /tests/libqos/libqos-spapr.c | |
parent | cf716b31cba278a6dbff585d58fa29d1ae2fe334 (diff) |
libqos: add PCI management in qtest_vboot()/qtest_shutdown()
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/libqos/libqos-spapr.c')
-rw-r--r-- | tests/libqos/libqos-spapr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/libqos/libqos-spapr.c b/tests/libqos/libqos-spapr.c index f19408be00..333e6fbb45 100644 --- a/tests/libqos/libqos-spapr.c +++ b/tests/libqos/libqos-spapr.c @@ -1,10 +1,13 @@ #include "qemu/osdep.h" #include "libqos/libqos-spapr.h" #include "libqos/malloc-spapr.h" +#include "libqos/pci-spapr.h" static QOSOps qos_ops = { .init_allocator = spapr_alloc_init_flags, - .uninit_allocator = spapr_alloc_uninit + .uninit_allocator = spapr_alloc_uninit, + .qpci_init = qpci_init_spapr, + .qpci_free = qpci_free_spapr, }; QOSState *qtest_spapr_vboot(const char *cmdline_fmt, va_list ap) |