From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr7rA-0002gW-Ig for qemu-devel@nongnu.org; Tue, 17 Jul 2012 09:30:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sr7r5-00036x-RU for qemu-devel@nongnu.org; Tue, 17 Jul 2012 09:30:28 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:47169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr7r5-00036b-MF for qemu-devel@nongnu.org; Tue, 17 Jul 2012 09:30:23 -0400 From: Anthony PERARD Date: Tue, 17 Jul 2012 14:30:01 +0100 Message-ID: <1342531805-29894-1-git-send-email-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH 0/4] Xen, introducing dirty log for migration. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU-devel Cc: Anthony Liguori , Xen Devel , Stefano Stabellini , Avi Kivity , Anthony PERARD , Luiz Capitulino 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. It unfortunatly necessary to adds new calls because cpu_physical_memory_set_dirty is not call if the memory is already consider as dirty by QEMU. But Xen does not handle the same dirty bitmap. Thanks for your reviews, Anthony PERARD (4): QMP, Introduce set-global-dirty-log command. xen: Introduce xen_modified_memory. exec, memory: Call to xen_modified_memory. xen: Always set the vram dirty during migration. exec.c | 4 ++++ 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, 94 insertions(+), 0 deletions(-) -- Anthony PERARD