From: Wei Liu Subject: Re: [PATCH for-4.6 v3 3/6] tools/libxl: Save and restore EMULATOR_XENSTORE_DATA content Date: Wed, 5 Aug 2015 10:40:31 +0100 Message-ID: <20150805094031.GG26074@zion.uk.xensource.com> References: <1438708596-21033-1-git-send-email-andrew.cooper3@citrix.com> <1438708596-21033-4-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1438708596-21033-4-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Wei Liu , Ian Jackson , Ian Campbell , Xen-devel List-Id: xen-devel@lists.xenproject.org On Tue, Aug 04, 2015 at 06:16:33PM +0100, Andrew Cooper wrote: > The new EMULATOR_XENSTORE_DATA content is a sequence of NUL terminated > key/value strings, with the key relative to the device model's xenstore > tree. > > A sample might look like (as decoded by verify-stream-v2): > > Emulator Xenstore Data (Qemu Upstream, idx 0) > 'physmap/1f00000/start_addr' = 'f0000000' > 'physmap/1f00000/size' = '800000' > 'physmap/1f00000/name' = 'vga.vram' > > This patch introduces libxl helpers to save and restore this new format, > which reimplement the existing libxl__toolstack_{save,restore}() logic. > > Signed-off-by: Andrew Cooper > --- > CC: Ian Campbell > CC: Ian Jackson > CC: Wei Liu Acked-by: Wei Liu > > v2: v3 :-)