Setup private bridge in KVM autotest, get rid of ifup scripts
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Changes from v2 from the cover letter
* Try to close tap file descriptors in order to run multiple iterations
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | KVM test: Adding framework code to control bridge creationclient/ | +103 | 0 replies | |
| 2/5 | KVM test: Add helpers to control the TAP/bridgeclient/ | +222 | 0 replies | |
| 3/5 | KVM test: virt_env_process: Setup private bridge during postprocessingclient/ | +9 | 0 replies | |
| 4/5 | KVM test: setup tap fd and pass it to qemu-kvm v3client/ client/ client/ | +45 | 0 replies | |
| 5/5 | KVM test: Changing KVM autotest default to private bridgeclient/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Setup private bridge in KVM autotest, get rid of ifup scripts
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
Signature · 1 line
1.7.5.1