From: Wei Liu Subject: Re: [PATCH OSSTEST v3 01/13] toolstack: save / restore check Date: Thu, 23 Jul 2015 17:45:37 +0100 Message-ID: <20150723164537.GF12377@zion.uk.xensource.com> References: <1437560015-4999-1-git-send-email-wei.liu2@citrix.com> <1437560015-4999-2-git-send-email-wei.liu2@citrix.com> <1437668205.24746.20.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZIJcs-0001Y2-KV for xen-devel@lists.xenproject.org; Thu, 23 Jul 2015 16:45:42 +0000 Content-Disposition: inline In-Reply-To: <1437668205.24746.20.camel@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: Ian Campbell Cc: Xen-devel , Wei Liu , ian.jackson@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Thu, Jul 23, 2015 at 05:16:45PM +0100, Ian Campbell wrote: > On Wed, 2015-07-22 at 11:13 +0100, Wei Liu wrote: > > +++ b/Osstest/Toolstack/libvirt.pm > > [...] > > +sub saverestore_check ($) { > > + my ($self) = @_; > > + return check_for_command($self, "save"); > > I just noticed that in a later patch you parse the capabilities xml to > check for migration support. Is save/restore reflected there too? > Parsing structured output from a command designed to produce machine > readable output out to be preferred to parsing help output if possible. > Anthony helped me check that. The ability to save and restore is not reflected in xml output of "virsh capabilities". Wei. > Ian.