mirror of https://gitee.com/openkylin/qemu.git
migration: remove useless code
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> Message-Id: <1462433579-13691-4-git-send-email-liang.z.li@intel.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
This commit is contained in:
parent
5533b2e9bc
commit
e7bb92e21a
|
@ -2359,7 +2359,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
|
||||
|
|
Loading…
Reference in New Issue