From: Ian Campbell Subject: Re: [PATCH RFC OSSTEST 7/9] Toolstack: Abstract away migration support check. Date: Tue, 24 Jun 2014 12:06:38 +0100 Message-ID: <1403607998.27511.8.camel@kazak.uk.xensource.com> References: <1403018758.25074.5.camel@kazak.uk.xensource.com> <1403018809-25509-7-git-send-email-ian.campbell@citrix.com> <1403019217.25074.10.camel@kazak.uk.xensource.com> <53A89C03.7030002@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53A89C03.7030002@suse.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: Jim Fehlig Cc: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2014-06-23 at 15:28 -0600, Jim Fehlig wrote: > Ian Campbell wrote: > > On Tue, 2014-06-17 at 16:26 +0100, Ian Campbell wrote: > > > >> Not implemented for libvirt (the check that is) > >> > > > > Jim, > > > > What would be the right thing to do for this? The intention is for > > osstest to skip migration tests when that feature is unimplemented by > > the toolstack/xen/arch combination. > > > > It looks like the output of "virsh capabilities" indicates migration: > > > > > > > > tcp > > > > > > is that the right place to look? > > > > Yes. > > > Will this capability be automagically suppressed on ARM until we > > implement it? > > Unfortunately, no :-/. Currently, the libvirt libxl driver will include > and call save, restore, and migrate regardless of arch. > > > FYI xl uses LIBXL_HAVE_NO_SUSPEND_RESUME to figure this > > out... > > > > Ah, interesting. Thanks for the tip. I'll need to add similar logic in > the libxl driver. Great, thanks. If my patches to enable osstest virsh support (they need a bit of work anyway) were to go in before this then ts-migration-check test case will turn from pass to fail which will look like a regression (even though ts-migrate which it gates was failing). That's not the end of the world and we could force osstest to ignore the old spurious passes. Ian.