[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v7 12/38] libqos: Use explicit QTestState for vi
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH v7 12/38] libqos: Use explicit QTestState for virtio operations |
Date: |
Tue, 12 Sep 2017 09:38:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
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 <address@hidden>
> ---
> 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 <address@hidden>
- Re: [Qemu-devel] [PATCH v7 08/38] libqos: Track QTestState with QPCIBus, (continued)
- [Qemu-devel] [PATCH v7 09/38] libqos: Track QTestState with QVirtioBus, Eric Blake, 2017/09/11
- [Qemu-devel] [PATCH v7 10/38] libqos: Move/rename qpci_unplug_acpi_device_test() to pci.c, Eric Blake, 2017/09/11
- [Qemu-devel] [PATCH v7 14/38] libqos: Use explicit QTestState for rtas operations, Eric Blake, 2017/09/11
- [Qemu-devel] [PATCH v7 11/38] libqos: Use explicit QTestState for pci operations, Eric Blake, 2017/09/11
- [Qemu-devel] [PATCH v7 12/38] libqos: Use explicit QTestState for virtio operations, Eric Blake, 2017/09/11
- Re: [Qemu-devel] [PATCH v7 12/38] libqos: Use explicit QTestState for virtio operations,
Thomas Huth <=
- [Qemu-devel] [PATCH v7 15/38] libqos: Use explicit QTestState for i2c operations, Eric Blake, 2017/09/11
- [Qemu-devel] [PATCH v7 13/38] libqos: Use explicit QTestState for fw_cfg operations, Eric Blake, 2017/09/11
- [Qemu-devel] [PATCH v7 16/38] libqos: Use explicit QTestState for ahci operations, Eric Blake, 2017/09/11
- [Qemu-devel] [PATCH v7 21/38] vhost-user-test: Drop dependence on global_qtest, Eric Blake, 2017/09/11
- [Qemu-devel] [PATCH v7 20/38] postcopy-test: Drop dependence on global_qtest, Eric Blake, 2017/09/11