mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00: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:
committed by
Alexander Graf
parent
e094c4c12f
commit
01a579729b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user