[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH OSSTEST v2] libvirt: Pass correct arguments to virsh migrate
On Wed, 2015-08-05 at 13:49 +0100, Wei Liu wrote: > On Wed, Aug 05, 2015 at 01:48:27PM +0100, Ian Campbell wrote: > > $dst is a host hash/object, resulting in: > > > > 2015-08-04 22:35:25 Z executing ssh ... root@xxxxxxxxxxxxx virsh > > migrate debian.guest.osstest HASH(0x28f4310) > > bash: -c: line 0: syntax error near unexpected token `(' > > bash: -c: line 0: `virsh migrate debian.guest.osstest HASH(0x28f4310)' > > > > Switch to using the same pattern as xl.pm, which is to call the > > argument (containing the host hash) $dho and for $dst to be a local > > variable containing $dho->{Name}. > > > > Also s/$ho/$sho/ to match xl.pm, since I think that is clearer about > > what role everything has. > > > > Fix the prototype too while editing this function. > > > > Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> > > Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx> > > Thanks for the fix! NP. I've pushed this to pretest and killed flight 60606 which hadn't alloca ted any hosts yet. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |