Message ID | 1462333259-3237-4-git-send-email-liang.z.li@intel.com |
---|---|
State | New |
Headers | show |
Liang Li <liang.z.li@intel.com> wrote: > page_buffer is set twice repeatedly, remove the previous set. > > Signed-off-by: Liang Li <liang.z.li@intel.com> > Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com>
diff --git a/migration/ram.c b/migration/ram.c index 4459b38..bc34bc5 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -2358,7 +2358,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