e8c48ff7c8
If the VM is powered off shortly after startup, it may happen that qubes.SetMonitorLayout would start it again. Avoid this by using autostart=False argument to run_service() function. Note that there is a vm.is_running() check at the beginning of the function already, but if it happens while the VM is cleaned up, it may still report that it's running, but at the time of run_service() call it is not. |
||
---|---|---|
ci | ||
debian | ||
doc | ||
etc | ||
qubesadmin | ||
rpm_spec | ||
test-packages | ||
.gitignore | ||
.pylintrc | ||
.travis.yml | ||
LICENSE | ||
Makefile | ||
Makefile.builder | ||
README.md | ||
run-tests | ||
setup.py | ||
version |
This is client side implementation of Qubes Admin API. See https://www.qubes-os.org/doc/admin-api/ for protocol specification.
Compatibility
Most of the API modules are compatible with Python >= 2.7. Very few parts require Python >= 3.5:
- tools (
qvm-*
) - qubesadmin.events module (for asyncio module)
Parts not compatible with Python < 3.5, are not installed in such environment.