From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH for-4.6 v3 3/6] tools/libxl: Save and restore EMULATOR_XENSTORE_DATA content Date: Wed, 5 Aug 2015 10:39:19 +0100 Message-ID: <1438767559.9747.32.camel@citrix.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: 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 , Xen-devel Cc: Wei Liu , Ian Jackson List-Id: xen-devel@lists.xenproject.org On Tue, 2015-08-04 at 18:16 +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 > --- Acked-by: Ian Campbell