From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucas Meneghel Rodrigues Subject: [PATCH 0/5] Setup private bridge in KVM autotest, get rid of ifup scripts Date: Sat, 21 May 2011 01:23:25 -0300 Message-ID: <1305951810-5933-1-git-send-email-lmr@redhat.com> Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues To: autotest@test.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:19231 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750698Ab1EUEXZ (ORCPT ); Sat, 21 May 2011 00:23:25 -0400 Sender: kvm-owner@vger.kernel.org List-ID: This patch combines 2 awesome patchsets by Amos and Jason to single handedly slay 2 long time annoyances for KVM autotest users: * By default we were using qemu userspace networking, a mode unsupported by KVM developers and not terribly useful, and many network tests are not supposed to work properly with it * Use of ifup scripts that tried to do a very naive form of bridge autodetection. If we control our bridge creation, we don't need no autodetection. Carefully made, verified, but not tested in several setups. This might need some more testing love before we can get it upstream once for all. Lucas Meneghel Rodrigues (5): KVM test: Adding framework code to control bridge creation KVM test: Add helpers to control the TAP/bridge KVM test: virt_env_process: Setup private bridge during postprocessing KVM test: setup tap fd and pass it to qemu-kvm KVM test: Changing KVM autotest default to private bridge client/tests/kvm/scripts/qemu-ifup | 11 -- client/tests/kvm/tests_base.cfg.sample | 12 +- client/virt/kvm_vm.py | 57 ++++++--- client/virt/virt_env_process.py | 9 ++ client/virt/virt_test_setup.py | 103 +++++++++++++++ client/virt/virt_utils.py | 218 ++++++++++++++++++++++++++++++++ 6 files changed, 374 insertions(+), 36 deletions(-) delete mode 100755 client/tests/kvm/scripts/qemu-ifup -- 1.7.5.1