summaryrefslogtreecommitdiffstats
path: root/scripts/qemucommand.py
Commit message (Collapse)AuthorAgeFilesLines
* Restrict secondary network to localhostPhil Wise2018-03-271-1/+1
|
* Add a --secondary-network option to run-qemu-otaPhil Wise2018-03-191-0/+6
| | | | | This sets up a simulated 'in vehicle' network. Add support for a Primary node with a DHCP server and a secondary node with a DHCP client.
* More general exception handler for `kvm-ok`Laurent Bonnans2018-01-191-1/+1
| | | | If the program is not in PATH, `FileNotFoundError` is raised
* Fix some basic oe-selftest errors.Patrick Vacek2018-01-181-1/+1
| | | | | Grub, HSM, and qemu hostname tests still fail for reasons I haven't figured out yet.
* Add a hint when machine autodetection failsPhil Wise2017-12-011-6/+5
| | | | Also fix a pylint warning about indentation
* 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