qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 03/14] use XFER_LIMIT_RATIO consistently


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 03/14] use XFER_LIMIT_RATIO consistently
Date: Tue, 15 Jan 2013 12:45:51 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 01/15/2013 04:18 AM, Juan Quintela wrote:
> From: Paolo Bonzini <address@hidden>
> 
> Previous patch missed this case

Might be worth mentioning _which_ previous patch, now that there is
quite a gap in the git history.

> 
> Signed-off-by: Paolo Bonzini <address@hidden>
> Signed-off-by: Juan Quintela <address@hidden>
> ---
>  migration.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/migration.c b/migration.c
> index c69e864..d6ec3e8 100644
> --- a/migration.c
> +++ b/migration.c
> @@ -650,7 +650,7 @@ static int64_t buffered_set_rate_limit(void *opaque, 
> int64_t new_rate)
>          new_rate = SIZE_MAX;
>      }
> 
> -    s->xfer_limit = new_rate / 10;
> +    s->xfer_limit = new_rate / XFER_LIMIT_RATIO;
> 
>  out:
>      return s->xfer_limit;
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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