From patchwork Wed Feb 10 16:29:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yogi X-Patchwork-Id: 78446 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1AGTutj030658 for ; Wed, 10 Feb 2010 16:29:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754959Ab0BJQ3z (ORCPT ); Wed, 10 Feb 2010 11:29:55 -0500 Received: from e32.co.us.ibm.com ([32.97.110.150]:36245 "EHLO e32.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754440Ab0BJQ3z (ORCPT ); Wed, 10 Feb 2010 11:29:55 -0500 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e32.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id o1AGNfgM008459 for ; Wed, 10 Feb 2010 09:23:41 -0700 Received: from d03av06.boulder.ibm.com (d03av06.boulder.ibm.com [9.17.195.245]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o1AGTeP2041158 for ; Wed, 10 Feb 2010 09:29:40 -0700 Received: from d03av06.boulder.ibm.com (loopback [127.0.0.1]) by d03av06.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o1AGVpI4028488 for ; Wed, 10 Feb 2010 09:31:51 -0700 Received: from [9.124.158.64] (yogi-laptop.in.ibm.com [9.124.158.64]) by d03av06.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id o1AGVmvs028351; Wed, 10 Feb 2010 09:31:49 -0700 Subject: [Autotest] [KVM-AUTOTEST PATCH 3/5] KVM test: Support for Parallel install of guest OS From: yogi To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Ryan Harper In-Reply-To: <1265818995.6747.25.camel@yogi-laptop> References: <1265818995.6747.25.camel@yogi-laptop> Date: Wed, 10 Feb 2010 21:59:32 +0530 Message-Id: <1265819372.6747.29.camel@yogi-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 10 Feb 2010 16:29:57 +0000 (UTC) diff --git a/client/tests/kvm/scripts/unattended.py b/client/tests/kvm/scripts/unattended.py index 87a8973..2257abf 100755 --- a/client/tests/kvm/scripts/unattended.py +++ b/client/tests/kvm/scripts/unattended.py @@ -59,8 +59,9 @@ class UnattendedInstall(object): self.cdrom_iso = os.path.join(kvm_test_dir, cdrom_iso) self.floppy_mount = tempfile.mkdtemp(prefix='floppy_', dir='/tmp') self.cdrom_mount = tempfile.mkdtemp(prefix='cdrom_', dir='/tmp') - self.floppy_img = os.path.join(images_dir, 'floppy.img') - + flopy_name = os.path.basename(os.environ['KVM_TEST_floppy']) + self.floppy_img = os.path.join(images_dir, flopy_name) + self.create_boot_floppy()