From patchwork Sat May 21 04:23:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 805232 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4L4NeNr001276 for ; Sat, 21 May 2011 04:23:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751322Ab1EUEXh (ORCPT ); Sat, 21 May 2011 00:23:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37546 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750926Ab1EUEXe (ORCPT ); Sat, 21 May 2011 00:23:34 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4L4NXZr004115 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 21 May 2011 00:23:33 -0400 Received: from freedom.redhat.com (vpn-9-106.rdu.redhat.com [10.11.9.106]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p4L4NMqu010171; Sat, 21 May 2011 00:23:32 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [PATCH 5/5] KVM test: Changing KVM autotest default to private bridge Date: Sat, 21 May 2011 01:23:30 -0300 Message-Id: <1305951810-5933-6-git-send-email-lmr@redhat.com> In-Reply-To: <1305951810-5933-1-git-send-email-lmr@redhat.com> References: <1305951810-5933-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 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.6 (demeter2.kernel.org [140.211.167.43]); Sat, 21 May 2011 04:23:41 +0000 (UTC) Rather than the unsupported userspace mode, which still is an option. This way we are giving users a default setup much closer to a real world usage scenario, and enable people to run all the network tests that don't work properly in user mode. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/tests_base.cfg.sample | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample index 78c84c6..cbded0a 100644 --- a/client/tests/kvm/tests_base.cfg.sample +++ b/client/tests/kvm/tests_base.cfg.sample @@ -57,10 +57,13 @@ redirs = remote_shell guest_port_remote_shell = 22 # NIC parameters -nic_mode = user -#nic_mode = tap -nic_script = scripts/qemu-ifup -#nic_script = scripts/qemu-ifup-ipv6 +#nic_mode = user +nic_mode = tap +bridge = private +# You can set bridge to +# be a specific bridge +# name, such as 'virbr0' +#bridge = virbr0 run_tcpdump = yes # Misc @@ -117,7 +120,6 @@ variants: # Install guest from cdrom - cdrom: medium = cdrom - nic_mode = user redirs += " unattended_install" # Install guest from http/ftp url - url: