From: Alex Bligh Subject: [PATCHv5 0/6] QEMU: Enabling live-migrate on HVM on qemu-xen device model in 4.2 - qemu patchset Date: Wed, 20 Feb 2013 20:55:55 +0000 Message-ID: <1361393761-957-1-git-send-email-alex@alex.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel , Stefano Stabellini Cc: Ian Jackson , Ian Campbell , Alex Bligh List-Id: xen-devel@lists.xenproject.org This patch series consists of 2 parts: * 11 patches to libxl * 6 patches to QEMU The 11 patches to libxl are unchanged and I am not resending them this time. The 6 patches to QEMU are unchanged since version 2 of the patch. These patches enable live-migrate on HVM using the upstream qemu-xen device model under Xen 4.2. Currently this is unimplemented. In the main they are backports of patches in xen-unstable, thought the QEMU side in particular needed some fiddling. I would suggest these patches should be included in 4.2.2. I have made minor changes per Stefano Stabellini's requests and these patches are compile-tested only and sent for comment. The changes are: * TB invalidation patch backported * Patch 3 (now 4) now applies cleanly, so no need to break whitespace * Comment added to patch 4 (now 5) * Comment added to patch 5 (now 6) I did not redo the VRAM patch (patch 5, now patch 6) for the reasons set out separately, but added a comment to explain the problem instead. Alex Bligh (6): QMP, Introduce xen-set-global-dirty-log command. xen: Introduce xen_modified_memory. cpu_physical_memory_write_rom() needs to do TB invalidates exec: Introduce helper to set dirty flags. exec, memory: Call to xen_modified_memory. xen: Set the vram dirty when an error occurs. exec.c | 49 +++++++++++++++++++++---------------------------- hw/xen.h | 1 + memory.c | 4 ++++ qapi-schema.json | 13 +++++++++++++ qmp-commands.hx | 24 ++++++++++++++++++++++++ xen-all.c | 47 +++++++++++++++++++++++++++++++++++++++++++++-- xen-stub.c | 9 +++++++++ 7 files changed, 117 insertions(+), 30 deletions(-) -- 1.7.4.1