qemu-devel
[Top][All Lists]
Advanced

[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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]