We should avoid global variables like global_qtest in the qtests - they cause trouble in the tests where we operate with multiple QEMU instances, e.g. with migration. Eric Blake already did quite a lot of work towards this goal in the past, but some of his patches never reached the master branch. Here I've now rebased some of his work to the current master branch, and added some small further clean up patches on top.
Eric Blake (3): ahci-test: Drop dependence on global_qtest ivshmem-test: Drop dependence on global_qtest tests/acpi-utils: Drop dependence on global_qtest Thomas Huth (4): tests/pvpanic: Make the pvpanic test independent of global_qtest tests/libqos/pci: Make PCI access functions independent of global_qtest tests/vmgenid: Make test independent of global_qtest tests/boot-serial: Get rid of global_qtest variable tests/acpi-utils.c | 19 +++++------ tests/acpi-utils.h | 63 +++++++++++++++++++------------------ tests/ahci-test.c | 81 +++++++++++++++++++++++------------------------ tests/bios-tables-test.c | 82 +++++++++++++++++++++++++----------------------- tests/boot-serial-test.c | 13 ++++---- tests/ivshmem-test.c | 18 +---------- tests/libqos/libqos.c | 9 ------ tests/libqos/libqos.h | 1 - tests/libqos/pci-pc.c | 47 +++++++++++++-------------- tests/libqos/pci-spapr.c | 20 ++++++------ tests/pvpanic-test.c | 14 +++++---- tests/vmgenid-test.c | 53 ++++++++++++++++--------------- 12 files changed, 201 insertions(+), 219 deletions(-) -- 1.8.3.1