From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yang Hongyang Subject: [PATCH v5 00/14] Misc patches to aid migration v2 Remus support Date: Wed, 13 May 2015 09:53:50 +0800 Message-ID: <1431482044-21286-1-git-send-email-yanghy@cn.fujitsu.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: wei.liu2@citrix.com, ian.campbell@citrix.com, wency@cn.fujitsu.com, andrew.cooper3@citrix.com, yunhong.jiang@intel.com, eddie.dong@intel.com, rshriram@cs.ubc.ca, ian.jackson@eu.citrix.com List-Id: xen-devel@lists.xenproject.org This is the combination of Andrew Cooper's misc patches and mine to aid migration v2 Remus support. See individual patches for details. Git tree available at: https://github.com/macrosheep/xen/tree/misc-remus-v5 v4->v5 Most of the changes are trival, like drop brackets in DECLARE_HYPERCALL_BUFFER_SHADOW(), drop stray blank line etc. Except the 6th patch which add a do{}while (0) in xc_hypercall_buffer_free_pages macro. Summary of changes: M = modified A = acked no mark = unchanged from last round Andrew Cooper (4): libxc/migration: Be rather stricter with illformed callers libxc/save: Adjust stream-position callbacks for checkpointed streams M libxc/migration: Specification update for CHECKPOINT records libxc/migration: Pass checkpoint information into the save algorithm. Yang Hongyang (10): tools/libxc: unused attribute in DECLARE_HYPERCALL_BUFFER_SHADOW M tools/libxc: add a check in xc_hypercall_buffer_free_pages macro M libxc/save: introduce setup() and cleanup() on save libxc/save: rename to_send to dirty_bitmap M libxc/save: adjust the memory allocation for migration M libxc/save: remove bitmap param from send_some_pages libxc/save: rename send_some_pages to send_dirty_pages M libxc/save: reuse send_dirty_pages() in send_all_pages() libxc/restore: introduce process_record() libxc/restore: split read/handle qemu info docs/specs/libxc-migration-stream.pandoc | 29 +++++- tools/libxc/include/xenctrl.h | 11 +- tools/libxc/include/xenguest.h | 1 + tools/libxc/xc_bitops.h | 5 + tools/libxc/xc_sr_common.c | 1 + tools/libxc/xc_sr_common.h | 30 ++++-- tools/libxc/xc_sr_restore.c | 89 ++++++++++------ tools/libxc/xc_sr_restore_x86_hvm.c | 28 ++++- tools/libxc/xc_sr_save.c | 171 ++++++++++++++++--------------- tools/libxc/xc_sr_save_x86_hvm.c | 30 +++--- tools/libxc/xc_sr_save_x86_pv.c | 29 ++++-- tools/libxc/xc_sr_stream_format.h | 1 + tools/libxl/libxl_dom.c | 1 + 13 files changed, 272 insertions(+), 154 deletions(-) -- 1.9.1