From: Wei Huang Subject: [PATCH 0/6] xen/arm: Xen save/restore/live migration support Date: Thu, 10 Apr 2014 16:48:53 +0000 Message-ID: <1397148539-19084-1-git-send-email-w1.huang@samsung.com> 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@lists.xen.org Cc: w1.huang@samsung.com, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, julien.grall@linaro.org, jaeyong.yoo@samsung.com, yjhyun.yoo@samsung.com List-Id: xen-devel@lists.xenproject.org The following are the save/restore/live-migration patches I forward-ported to the latest Xen tree. Note that I kept the order of original patches, and Signed-off-by as well. For the patches I modified (see summary below), I added my name as Signed-off-by. These patches aren't intended as the final version. Since Junghyun Yoo is working on his patches, I think it is better to send out my version now for discussion and proper merge. Let us make Xen 4.5 support these features. === Modification Summary === Patch 1: * Adapt to latest Xen source code * Setting IRQ status as enabled by checking ieanble bits after loading VM info * Minor fixes to support 64-bit Patch 5: * Add new p2m ARM type (p2m_ram_logdirty) to support dirty page tracking Patch 6: * Enable save/restore/live migration support based on latest Xen code * Adapt to latest Xen source code -Wei Alexey Sokolov (1): xen/arm: Implement toolstack for xl restore/save and migrate Jaeyong Yoo (4): xen/arm: implement get_maximum_gpfn hypercall xen/arm: Implement do_suspend function xen/arm: Implement VLPT for guest p2m mapping in live migration xen/arm: Implement hypercall for dirty page tracing Jaeyong Yoon (1): xen/arm: Save and restore support for hvm context hypercall config/arm32.mk | 1 + config/arm64.mk | 1 + tools/libxc/Makefile | 6 +- tools/libxc/xc_arm_migrate.c | 712 +++++++++++++++++++++++++++++++++ tools/libxc/xc_dom_arm.c | 4 +- tools/libxc/xc_resume.c | 25 ++ tools/libxl/libxl.h | 3 - tools/misc/Makefile | 4 +- xen/arch/arm/Makefile | 1 + xen/arch/arm/domain.c | 19 + xen/arch/arm/domctl.c | 101 ++++- xen/arch/arm/hvm.c | 505 ++++++++++++++++++++++- xen/arch/arm/mm.c | 240 ++++++++++- xen/arch/arm/p2m.c | 208 ++++++++++ xen/arch/arm/save.c | 66 +++ xen/arch/arm/traps.c | 9 + xen/common/Makefile | 2 + xen/include/asm-arm/arm32/page.h | 23 +- xen/include/asm-arm/config.h | 9 + xen/include/asm-arm/domain.h | 14 + xen/include/asm-arm/hvm/support.h | 29 ++ xen/include/asm-arm/mm.h | 26 ++ xen/include/asm-arm/p2m.h | 8 +- xen/include/asm-arm/processor.h | 2 + xen/include/public/arch-arm/hvm/save.h | 136 +++++++ 25 files changed, 2129 insertions(+), 25 deletions(-) create mode 100644 tools/libxc/xc_arm_migrate.c create mode 100644 xen/arch/arm/save.c create mode 100644 xen/include/asm-arm/hvm/support.h -- 1.8.3.2