From: Andrew Cooper Subject: [PATCH v10 00/15] Migration v2 (libxc) Date: Thu, 23 Apr 2015 12:48:29 +0100 Message-ID: <1429789725-18768-1-git-send-email-andrew.cooper3@citrix.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 Cc: Wei Liu , Ian Campbell , Wen Congyang , Andrew Cooper , Ian Jackson , Tim Deegan , Ross Lagerwall , David Vrabel , Shriram Rajagopalan , Hongyang Yang , Vijay Kilari List-Id: xen-devel@lists.xenproject.org Presented here is v10 of the Migration v2 series (libxc subset), which is able to function when transparently inserted under an unmodified xl/libxl. There are no major changes from v9. A docs subseries has been completed in parallel and removed from this series, and liberal quantities of spell checking has occured. A summary of changes: (M = modified, A = acked) A tools/libxc: Implement writev_exact() in the same style as write_exact() M libxc/progress: Extend the progress interface A tools/libxc: Migration v2 framework A tools/libxc: C implementation of stream format A tools/libxc: generic common code A tools/libxc: x86 common code A tools/libxc: x86 PV common code MA tools/libxc: x86 PV save code M tools/libxc: x86 PV restore code A tools/libxc: x86 HVM save code MA tools/libxc: x86 HVM restore code A tools/libxc: common save code A tools/libxc: common restore code A docs: libxc migration stream specification A tools/libxc: Migration v2 compatibility for unmodified libxl This series can be found on a 'saverestore2-v10' at http://xenbits.xen.org/git-http/people/andrewcoop/xen.git To experiment, simply set XG_MIGRATION_V2 in xl's environment. For migration, the easiest way is to tweak libxl-save-helper to be a shell script root@vitruvias:/home# cat /usr/lib/xen/bin/libxl-save-helper #!/bin/bash export XG_MIGRATION_V2=x exec /usr/lib/xen/bin/libxl-save-helper.bin "$@" which will ensure that XG_MIGRATION_V2 gets set in the environment for both the source and destination of migration. Please experiment! ~Andrew