qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] migration: remove useless code


From: Dr. David Alan Gilbert
Subject: Re: [Qemu-devel] [PATCH] migration: remove useless code
Date: Mon, 18 Apr 2016 10:45:53 +0100
User-agent: Mutt/1.5.24 (2015-08-30)

* Liang Li (address@hidden) wrote:
> page_buffer is set twice repeatedly, remove the previous set.
> 
> Signed-off-by: Liang Li <address@hidden>
> ---
>  migration/ram.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/migration/ram.c b/migration/ram.c
> index 3f05738..31d40f4 100644
> --- a/migration/ram.c
> +++ b/migration/ram.c
> @@ -2322,7 +2322,6 @@ static int ram_load_postcopy(QEMUFile *f)
>                  ret = -EINVAL;
>                  break;
>              }
> -            page_buffer = host;
>              /*
>               * Postcopy requires that we place whole host pages atomically.
>               * To make it atomic, the data is read into a temporary page

Reviewed-by: Dr. David Alan Gilbert <address@hidden>

> -- 
> 1.9.1
> 
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK



reply via email to

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