From: Stefano Stabellini Subject: [PATCH v2 0/2] libxl: save/restore qemu physmap Date: Fri, 20 Jan 2012 17:24:16 +0000 Message-ID: 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.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" Cc: Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Hi all, this patch series introduces a new xc_save_id called XC_SAVE_ID_TOOLSTACK to save/restore toolstack specific information. Libxl is going to use the new save_id to save and restore qemu's physmap. Changes in v2: - xc_domain_save frees the buffer allocated by the callback; - introduce a version number in the libxl save record; - define libxl__physmap_info and use it to read/store information to the buffer. Stefano Stabellini (2): libxc: introduce XC_SAVE_ID_TOOLSTACK libxl: save/restore qemu's physmap tools/libxc/xc_domain_restore.c | 66 ++++++++++++++------ tools/libxc/xc_domain_save.c | 17 +++++ tools/libxc/xenguest.h | 23 +++++++- tools/libxc/xg_save_restore.h | 1 + tools/libxl/libxl_dom.c | 132 ++++++++++++++++++++++++++++++++++++++- tools/xcutils/xc_restore.c | 3 +- 6 files changed, 220 insertions(+), 22 deletions(-) Cheers, Stefano