aboutsummaryrefslogtreecommitdiffstats
path: root/testing/config/kvm
Commit message (Collapse)AuthorAgeFilesLines
* testing: Mount and serve testresults from the hostTobias Brunner2016-08-291-0/+5
| | | | | | | | This avoids having to copy testresults, makes results of cancelled runs browsable (runs may actually be followed live) and preserves old results when rebuilding guest images (e.g. when using the build-strongswan script). The number of consecutive test runs without any intermittent rebuild of the guest images is also not limited by the image size anymore.
* testing: Enable AESNI/PCLMULQD in moon/sun guests, if supportedMartin Willi2015-07-122-0/+10
|
* testing: Enable virtio console for guestsTobias Brunner2014-10-108-16/+16
| | | | | | | | | | | This allows accessing the guests with `virsh console <name>`. Using a serial console would also be possible but our kernel configs have no serial drivers enabled, CONFIG_VIRTIO_CONSOLE is enabled though. So to avoid having to recompile the kernels let's do it this way, only requires rebuilding the guest images. References #729.
* testing: Rename interfaces and bridges so they are easier to identifyTobias Brunner2013-03-1911-3/+14
| | | | | | | This simplifies capturing traffic with Wireshark on the host as each of the guest's interfaces is clearly identified. The three bridges were previously numbered starting from 0, this scheme is restored here.
* testing: Don't use a specific version for the QEMU machine typeTobias Brunner2013-03-198-8/+8
| | | | | The previously used pc-1.1 is not yet available on e.g. Ubuntu 12.04. With 'pc' the most current supported version of that type is used.
* Switch to 'mapped' access mode for hostfsReto Buerki2013-01-178-8/+8
| | | | | | | | | | | Passthrough mode only works as expected when running as root. On Debian/Ubuntu systems qemu runs as user 'libvirt-qemu' and group 'kvm' so all shared files must be chowned to grant access from guests. Symlinks created on the host are still problematic because the Plan 9 filesystem has no direct notion of symbolic links, see [1]. [1] - http://ericvh.github.com/9p-rfc/rfc9p2000.u.html
* Export compile directory to guestsReto Buerki2013-01-178-11/+42
| | | | | Use 9p over virtio to share files on the host with the guest domains. The files are accessible in the guests /hostfs directory.
* Add eth1 NIC to alice domainReto Buerki2013-01-171-0/+6
|
* Switch from raw images to qcow2 formatReto Buerki2013-01-178-24/+24
| | | | | This allows to use minimal copy-on-write clones of the base image as guest images, which in turn saves a lot of disk space.
* Use qemu/KVM virtualization instead of UMLReto Buerki2013-01-1711-0/+526
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.