Merge lp:~terceiro/lava-dispatcher/kvm into lp:lava-dispatcher
Proposed by
Antonio Terceiro
Status: | Merged |
---|---|
Merged at revision: | 623 |
Proposed branch: | lp:~terceiro/lava-dispatcher/kvm |
Merge into: | lp:lava-dispatcher |
Diff against target: |
112 lines (+22/-21) 7 files modified
lava_dispatcher/config.py (+2/-1) lava_dispatcher/default-config/lava-dispatcher/device-types/kvm.conf (+3/-0) lava_dispatcher/default-config/lava-dispatcher/device-types/qemu.conf (+5/-4) lava_dispatcher/default-config/lava-dispatcher/lava-dispatcher.conf (+0/-4) lava_dispatcher/device/qemu.py (+9/-9) lava_test_shell/distro/fedora/lava-install-packages (+1/-1) lava_test_shell/distro/ubuntu/lava-install-packages (+2/-2) |
To merge this branch: | bzr merge lp:~terceiro/lava-dispatcher/kvm |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Linaro Validation Team | Pending | ||
Review via email: mp+167659@code.launchpad.net |
Description of the change
This branch makes the QEMU device type backend more flexible and with that flexibility adds a KVM (aka qemu-system-x86_64) device type on top.
* Extract QEMU ARM-specific options to configuration options
* Allow qemu binary to actually be overriden for each device type
* Add a very simple kvm.conf
The provided kvm.conf requires QEMU 1.5, although it should be easy enough to create other that supports older qemu/kvm if needed.
I was able to boot test a custom-made Debian image using this kvm device type. I will post instructions on how to create a LAVA-ready Debian image in the near future.
To post a comment you must log in.
I had some issues when running lava-test-shell, so I made another 2
changes:
- removed sudo from package installation calls in lava-test-shell
debian-based and fedora image support (LAVA-compliant images are
supposed to boot to a root prompt anyway). This relieves test images
from having sudo installed.
- forcing termination of the QEMU process with proc.kill(9) - for some
reason I was hitting an exception in pexpect.close saying (close()
could not terminate the child using terminate())
So now I have tested and working both a simple boot test and lava-test-shell.