From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Harper Subject: Re: [Autotest] [KVM-AUTOTEST PATCH 0/5] KVM test: Support for Parallel install of guest OS Date: Wed, 10 Feb 2010 11:54:50 -0600 Message-ID: <20100210175450.GU6083@us.ibm.com> References: <1265818995.6747.25.camel@yogi-laptop> <1265821989.2273.15.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: yogi , autotest@test.kernel.org, kvm@vger.kernel.org, Ryan Harper , Michael Goldish To: Lucas Meneghel Rodrigues Return-path: Received: from e2.ny.us.ibm.com ([32.97.182.142]:39963 "EHLO e2.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755839Ab0BJRy4 (ORCPT ); Wed, 10 Feb 2010 12:54:56 -0500 Received: from d01relay07.pok.ibm.com (d01relay07.pok.ibm.com [9.56.227.147]) by e2.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id o1AHj3e0019535 for ; Wed, 10 Feb 2010 12:45:03 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay07.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o1AHst0D2109476 for ; Wed, 10 Feb 2010 12:54:55 -0500 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o1AHssoY019027 for ; Wed, 10 Feb 2010 15:54:55 -0200 Content-Disposition: inline In-Reply-To: <1265821989.2273.15.camel@localhost.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: * Lucas Meneghel Rodrigues [2010-02-10 11:14]: > On Wed, 2010-02-10 at 21:53 +0530, yogi wrote: > > Hello everyone, > > > > I like to submit a set of patches to enable installing multiple guests > > in parallel. > > Hi Yogi, great to receive your patches! > > > To install multiple guests in parallel the role of the host and the > > guest need to be changed. In this patch host acts as a client and the > > guest acts as server, enabling us to install multiple guest at same > > time. > > I see your point, but I am concerned that we already have a parallel > test execution implementation (see control.parallel), so either your > patchset needs to fit in with the control.parallel approach or we might > think of another approach. I have thought of some ideas, will check your > approach and comment about it soon. If I've read the patches right, I believe Yogi is relying upon control.parallel; these changes are needed to ensure that the unattended_install test invoked in parallel doesn't clobber itself. Yogi hit all of the major issues: 1) tftp code uses the same path and filename for each guest; Yogi switched that to include a per-guest path so we can have multipl kernel/initrd pairs in flight at the same time 2) only one service side listening server and no way agreeing upon a port number; Yogi moved the listen to the guest, and now the host pokes at the pre-defined port in each guest to see if it has completed. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx ryanh@us.ibm.com