From 9b3316ed2773b276cb9537c4ccde2dd3431b655d Mon Sep 17 00:00:00 2001 From: Reto Buerki Date: Fri, 7 Dec 2012 11:48:48 +0100 Subject: [PATCH] Use qemu/KVM virtualization instead of UML Guest and network configuration is setup using the libvirt virtualization API. The [start|stop]_testing scripts have been updated accordingly. qemu/KVM does not currently support a hostfs, so the shared build tree mount has been dropped for now. --- testing/config/kvm/alice.xml | 59 +++++++++++++++++++ testing/config/kvm/bob.xml | 62 ++++++++++++++++++++ testing/config/kvm/carol.xml | 62 ++++++++++++++++++++ testing/config/kvm/dave.xml | 62 ++++++++++++++++++++ testing/config/kvm/moon.xml | 65 ++++++++++++++++++++ testing/config/kvm/sun.xml | 65 ++++++++++++++++++++ testing/config/kvm/venus.xml | 59 +++++++++++++++++++ testing/config/kvm/vnet1.xml | 11 ++++ testing/config/kvm/vnet2.xml | 11 ++++ testing/config/kvm/vnet3.xml | 11 ++++ testing/config/kvm/winnetou.xml | 59 +++++++++++++++++++ testing/make-testing | 14 ----- testing/scripts/build-umlrootfs | 5 -- testing/scripts/install-shared | 32 ---------- testing/scripts/shutdown-umls | 32 ---------- testing/scripts/start-bridges | 64 -------------------- testing/scripts/start-umls | 101 -------------------------------- testing/scripts/stop-bridges | 49 ---------------- testing/start-testing | 56 +++++++----------- testing/stop-testing | 54 ++++++----------- testing/testing.conf | 43 ++------------ 21 files changed, 568 insertions(+), 408 deletions(-) create mode 100644 testing/config/kvm/alice.xml create mode 100644 testing/config/kvm/bob.xml create mode 100644 testing/config/kvm/carol.xml create mode 100644 testing/config/kvm/dave.xml create mode 100644 testing/config/kvm/moon.xml create mode 100644 testing/config/kvm/sun.xml create mode 100644 testing/config/kvm/venus.xml create mode 100644 testing/config/kvm/vnet1.xml create mode 100644 testing/config/kvm/vnet2.xml create mode 100644 testing/config/kvm/vnet3.xml create mode 100644 testing/config/kvm/winnetou.xml delete mode 100755 testing/scripts/install-shared delete mode 100755 testing/scripts/shutdown-umls delete mode 100755 testing/scripts/start-bridges delete mode 100755 testing/scripts/start-umls delete mode 100755 testing/scripts/stop-bridges diff --git a/testing/config/kvm/alice.xml b/testing/config/kvm/alice.xml new file mode 100644 index 000000000..275aeceb4 --- /dev/null +++ b/testing/config/kvm/alice.xml @@ -0,0 +1,59 @@ + + alice + 1f35c25d-6a7b-4ee1-2461-d7e530e7b2a9 + 131072 + 131072 + 1 + + hvm + /var/run/kvm-swan-kernel + root=/dev/vda loglevel=1 + + + + + + + + + destroy + restart + restart + + /usr/bin/kvm + + + + +
+ + +
+ + + + + +
+ + + + + + + + + + + +
+ +