core-admin/qubes/vm
Marek Marczykowski-Górecki ff78b26f66 qubes: implement offline mode
Apparently the most important (the only?) property required in offline
mode is "is_running". So let's patch it to return False and make sure
any other libvirt usage would result in failure.

Or maybe better simply returh False in vm.is_running, when libvirt
connection fails? But then it would not be possible to use offline mode
and have (some, probably unrelated) libvirtd running at the same time.

Fixes QubesOS/qubes-issues#2008
2016-06-02 12:41:26 +02:00
..
mix qubes/vm: fix network attach/detach 2016-06-02 12:28:53 +02:00
__init__.py qubes: Combat import cycles 2016-05-05 14:33:09 +02:00
adminvm.py core3: Add documentation to qubes.exc 2015-10-17 00:20:44 +02:00
appvm.py qubes/vm: Implement Disposable VM 2016-06-02 12:37:19 +02:00
dispvm.py qubes/vm: Implement Disposable VM 2016-06-02 12:37:19 +02:00
qubesvm.py qubes: implement offline mode 2016-06-02 12:41:26 +02:00
standalonevm.py qubes/vm: add StandaloneVM class 2016-04-07 12:57:52 +02:00
templatevm.py Refactor Storage, Pool and XenPool 2016-04-25 07:17:17 +02:00