Hi, This patch set will fix live migration under Xen. For this I introduce a new QMP command to switch global-dirty log and few calls (in exec.c and memory.c) to xen set_dirty function.
Change since the first patch set: - New patch to set dirty if not, in exec.c => only one place to add the xen call in exec.c Thanks for your reviews, Anthony PERARD (5): QMP, Introduce xen-set-global-dirty-log command. xen: Introduce xen_modified_memory. exec: Introduce helper to set dirty flags. exec, memory: Call to xen_modified_memory. xen: Always set the vram dirty during migration. exec.c | 43 +++++++++++++++---------------------------- hw/xen.h | 1 + memory.c | 2 ++ qapi-schema.json | 13 +++++++++++++ qmp-commands.hx | 24 ++++++++++++++++++++++++ xen-all.c | 41 +++++++++++++++++++++++++++++++++++++++++ xen-stub.c | 9 +++++++++ 7 files changed, 105 insertions(+), 28 deletions(-) -- Anthony PERARD