qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC 2/7] sd.c: introduce variable for trekking valid d


From: Peter Maydell
Subject: Re: [Qemu-devel] [RFC 2/7] sd.c: introduce variable for trekking valid data
Date: Fri, 14 Jun 2013 12:49:52 +0100

On 10 May 2013 17:10, Igor Mitsyanko <address@hidden> wrote:
> Initialize it appropriately when various commands are processed.

"tracking", but the commit message doesn't match the
patch contents anyway -- should this patch have more
content from later patches, or be squashed into one of
them?

>
> Signed-off-by: Igor Mitsyanko <address@hidden>
> ---
>  hw/sd/sd.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/hw/sd/sd.c b/hw/sd/sd.c
> index 1dd1331..775a55c 100644
> --- a/hw/sd/sd.c
> +++ b/hw/sd/sd.c
> @@ -116,6 +116,7 @@ struct SDState {
>      QEMUIOVector qiov;
>      struct iovec iov;
>      BlockDriverAIOCB *aiocb;
> +    uint32_t transf_cnt;

How does this work for migration -- are we guaranteed that
all outstanding AIO requests complete before we try to
migrate?

>  };
>
>  static void sd_set_mode(SDState *sd)
> --
> 1.8.1.4
>


thanks
-- PMM



reply via email to

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