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: Tue, 24 May 2011 04:03:15 -0300 Message-ID: <1306220600-3840-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]:61504 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753049Ab1EXHDQ (ORCPT ); Tue, 24 May 2011 03:03:16 -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. Changes from v2: * Try to close tap file descriptors in order to run multiple iterations 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 v3 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 | 59 ++++++--- client/virt/virt_env_process.py | 9 ++ client/virt/virt_test_setup.py | 103 +++++++++++++++ client/virt/virt_utils.py | 226 ++++++++++++++++++++++++++++++++ 6 files changed, 384 insertions(+), 36 deletions(-) delete mode 100755 client/tests/kvm/scripts/qemu-ifup -- 1.7.5.1