From: Andrew Cooper Subject: [PATCH v9 00/15] Migration v2 (libxc) Date: Fri, 10 Apr 2015 18:15:52 +0100 Message-ID: <1428686167-8279-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 v9 of the Migration v2 series (libxc subset), which is able to function when transparently inserted under an unmodified xl/libxl. The main purpose of v9 is to rebase over the build issue caused by 341fac7b "xen/mem_event: Cleanup mem_event names in rings, functions and domctls" renaming one of the HVM parameters. In addition, there are a couple of bugfixes spotted by Coverity, and some refactoring of a few "mfn" variables which should have been "gfn". No major changes from v8. This series can be found on a 'saverestore2-v9' 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. Patches 1 and 2 are prerequisites Patches 3 to 13 are the meat of the series Patch 14 is the design document Patch 15 is the compat layer for unmodified libxl Please experiment! ~Andrew