On 5/8/19 9:32 AM, Thomas Huth wrote: > libqos functions should not use functions that require global_qtest to > be set, since such library functions could also be used by tests that > deal with multiple test states. Add a parameter to this function to > explicitly specify the test state. > > Signed-off-by: Thomas Huth <[email protected]> > --- > tests/e1000e-test.c | 4 +++- > tests/ivshmem-test.c | 9 ++++++--- > tests/libqos/pci-pc.c | 10 +++++----- > tests/libqos/pci.h | 2 +- > tests/virtio-blk-test.c | 3 ++- > tests/virtio-net-test.c | 4 +++- > tests/virtio-rng-test.c | 5 ++++- > 7 files changed, 24 insertions(+), 13 deletions(-) >
Reviewed-by: Eric Blake <[email protected]> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
