From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: [PATCH v4 0/4] support linear p2m list in migrate stream v2 Date: Thu, 7 Jan 2016 13:36:50 +0100 Message-ID: <1452170214-17821-1-git-send-email-jgross@suse.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, Ian.Campbell@citrix.com, ian.jackson@eu.citrix.com, stefano.stabellini@eu.citrix.com, wei.liu2@citrix.com, andrew.cooper3@citrix.com Cc: Juergen Gross List-Id: xen-devel@lists.xenproject.org Add support for the virtual mapped linear p2m list of pv-domains in the v2 migrate stream. This will allow to migrate domains larger than 512 GB. Tested with 32- and 64-bit pv-domains both with and without linear p2m list and with a hvm domain. Changes in V4: - correct format strings in patch 2 for x86-32 as requested by Ian Campbell - modify commit note of patch 2 as requested by Wei Liu Changes in V3: - Moved defines to header file in patch 2 as requested by Andrew Cooper Changes in V2: - Added some sanity tests in patch 2 as suggested by Andrew Cooper - Modified patch 3 according to Andrew Cooper's requests: rename of check_iteration to check_vm_state, call check_vm_state after each checkpoint, don't change check_vm_state hook but do the check decision internally - Modified docs/features/migration.pandoc according to changes done in the series in patch 4 (requested by Andrew Cooper) Juergen Gross (4): libxc: split mapping p2m leaves into a separate function libxc: support of linear p2m list for migration of pv-domains libxc: stop migration in case of p2m list structural changes libxc: set flag for support of linear p2m list in domain builder docs/features/migration.pandoc | 7 +- tools/libxc/xc_dom_compat_linux.c | 2 +- tools/libxc/xc_dom_core.c | 2 + tools/libxc/xc_sr_common.h | 12 ++ tools/libxc/xc_sr_common_x86_pv.h | 7 + tools/libxc/xc_sr_save.c | 7 +- tools/libxc/xc_sr_save_x86_hvm.c | 7 + tools/libxc/xc_sr_save_x86_pv.c | 304 +++++++++++++++++++++++++++++++++----- 8 files changed, 304 insertions(+), 44 deletions(-) -- 2.6.2