libqos: use generic qtest_shutdown()
commit61ae5cf3a2e1a7764a60fec69cd8731516d5fb83
authorLaurent Vivier <lvivier@redhat.com>
Thu, 29 Sep 2016 10:32:46 +0000 (29 12:32 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 6 Oct 2016 05:15:53 +0000 (6 16:15 +1100)
treed2badf5b2c18e8873ece68426e40d70bfa350531
parent2ecd7e2f25a57e8966a15ee50a0afacd4ec067da
libqos: use generic qtest_shutdown()

Machine specific shutdown function can be registered by
the machine specific qtest_XXX_boot() if needed.

So we will not have to test twice the architecture (on boot and on
shutdown) if the test can be run on several architectures.

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>
tests/libqos/libqos-pc.c
tests/libqos/libqos-spapr.c
tests/libqos/libqos.c
tests/libqos/libqos.h
tests/rtas-test.c