Commit Graph

9 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
466bf89aae
Fix starting VM with kernel=None
When dom0 do not provide the kernel, it should also not set kernel
command line in libvirt config. Otherwise qemu in stubdom fails to start
because it get -append option without -kernel, which is illegal
configuration.

Fixes QubesOS/qubes-issues#3339
2017-12-14 23:26:52 +01:00
Wojtek Porczyk
40e2c0eec5 test-packages: add missing libvirt classes 2017-09-21 14:18:02 +02:00
Wojtek Porczyk
96f5f3d4b6 test-packages/libvirt: registerErrorHandler 2017-09-01 18:38:32 +02:00
Marek Marczykowski-Górecki
0f3b4e4baa
travis: add pydbus mockup
Unfortunately, python3-gi is unavailable in travis-ci environment (and
installing it from repository doesn't help, because system python is not
used). Instead, add mockup of pydbus module - to silence ImportError.
Tests will cover it with unittest.mock anyway.
2017-08-14 02:45:52 +02:00
Wojtek Porczyk
3bc4ec1e98 add mock libvirtaio module + pylint fixes 2017-04-05 17:06:45 +02:00
Marek Marczykowski-Górecki
944bb26369
tests/mgmt: VM property related functions 2017-03-16 20:04:05 +01:00
Wojtek Porczyk
37018952d1 test-packages/dbus: add SystemBus
This is needed in travis.
2016-06-10 21:27:29 +02:00
Wojtek Porczyk
ff28ced03f Add requirements.txt for readthedocs.org 2016-04-22 15:51:50 +02:00
Wojtek Porczyk
341bbb4ef3 run-tests: Script for running tests in repo
Currently additional steps are needed (those have to be done manually):
- allow writing to /var/lib/qubes
- copy /etc/qubes/storage.conf
2016-04-20 13:54:56 +02:00