On 11.09.2017 19:19, Eric Blake wrote: > Now that QVirtioDevice and QVirtQueue point back to QVirtioBus, > we can reuse the explicit QTestState stored there rather than > relying on implicit global_qtest. We also have to pass QTestState > through a few functions that can't trace back through > QVirtioDevice, and update those callers. > > Drop some useless casts while touching things. > > Signed-off-by: Eric Blake <ebl...@redhat.com> > --- > tests/libqos/virtio.h | 6 ++-- > tests/libqos/virtio-mmio.c | 57 ++++++++++++++++++------------- > tests/libqos/virtio-pci.c | 8 ++--- > tests/libqos/virtio.c | 84 > ++++++++++++++++++++++++++-------------------- > tests/virtio-blk-test.c | 11 +++--- > 5 files changed, 94 insertions(+), 72 deletions(-)
Reviewed-by: Thomas Huth <th...@redhat.com>