mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
spapr: Fix stale HTAB during live migration (KVM)
If a guest reboots during a running migration, changes to the hash page table are not necessarily updated on the destination. Opening a new file descriptor to the HTAB forces the migration handler to resend the entire table. Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
e094c4c12f
commit
01a579729b
2 changed files with 39 additions and 0 deletions
|
@ -37,6 +37,7 @@ typedef struct sPAPREnvironment {
|
|||
int htab_save_index;
|
||||
bool htab_first_pass;
|
||||
int htab_fd;
|
||||
bool htab_fd_stale;
|
||||
} sPAPREnvironment;
|
||||
|
||||
#define H_SUCCESS 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue