summaryrefslogtreecommitdiffstats
path: root/scripts/qemucommand.py
Commit message (Collapse)AuthorAgeFilesLines
* Autodetect KVMPhil Wise2017-11-161-1/+10
| | | | | | | | | | | Autodetect KVM by using the 'kvm-ok' command line tool. This has two benefits: Firstly, it improves the UX of run-qemu-ota when working on machines without KVM (e.g. AWS). Previously, people had to use the --no-kvm option in these cases. Secondary, it makes oe-selftest usable on machines without KVM. Our tests call run-qemu-ota, and we want to able to run them on machines without KVM.
* Rough draft of a run-qemu-ota test.Patrick Vacek2017-11-131-2/+2
| | | | | | | | | | Not very useful yet. Could be made into a function for the purpose of running arbitrary commands via SSH, for example. However, I had plenty of trouble even getting this far. Note that I created a softlink to qemucommand to get around the Python path issues in oe-selftest. I'm not sure if there's a better way to handle that, since manipulating the path is seemingly impossible.
* Refactor QemuCommand class into its own file/module.Patrick Vacek2017-11-131-0/+118