From patchwork Tue May 24 07:03:20 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: 811042 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4O73WN8025275 for ; Tue, 24 May 2011 07:03:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753660Ab1EXHD0 (ORCPT ); Tue, 24 May 2011 03:03:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36726 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753621Ab1EXHDZ (ORCPT ); Tue, 24 May 2011 03:03:25 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4O73ORG005084 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 24 May 2011 03:03:24 -0400 Received: from freedom.redhat.com (vpn-9-252.rdu.redhat.com [10.11.9.252]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p4O73CG0006920; Tue, 24 May 2011 03:03:23 -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: Tue, 24 May 2011 04:03:20 -0300 Message-Id: <1306220600-3840-6-git-send-email-lmr@redhat.com> In-Reply-To: <1306220600-3840-1-git-send-email-lmr@redhat.com> References: <1306220600-3840-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 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 (demeter1.kernel.org [140.211.167.41]); Tue, 24 May 2011 07:03:32 +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 2b0d63c..5276d23 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: