From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THC1i-0001y8-Ef for qemu-devel@nongnu.org; Thu, 27 Sep 2012 07:13:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THC1d-0006aH-Ru for qemu-devel@nongnu.org; Thu, 27 Sep 2012 07:13:06 -0400 Received: from smtp.citrix.com ([66.165.176.89]:61966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THC1d-0006Zm-NU for qemu-devel@nongnu.org; Thu, 27 Sep 2012 07:13:01 -0400 From: Anthony PERARD Date: Thu, 27 Sep 2012 12:12:35 +0100 Message-ID: <1348744360-2989-1-git-send-email-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH V4 0/5] Xen, introducing dirty log for migration. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU-devel , Stefano Stabellini Cc: Anthony PERARD , Xen Devel 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 v3: - Coding style of patch 2 - Reword last patch comment Change since v2: - renamed set_dirty_helper to invalidate_and_set_dirty. - in the last patch, set vram as dirty if the xen call fails, instead of only during migration. Change v1-v2: - 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: Set the vram dirty when an error occur. exec.c | 53 ++++++++++++++++++----------------------------------- hw/xen.h | 1 + memory.c | 2 ++ qapi-schema.json | 13 +++++++++++++ qmp-commands.hx | 24 ++++++++++++++++++++++++ xen-all.c | 39 ++++++++++++++++++++++++++++++++++++++- xen-stub.c | 9 +++++++++ 7 files changed, 105 insertions(+), 36 deletions(-) -- Anthony PERARD