core-admin/core-modules
Marek Marczykowski-Górecki 075f35b873 core: do not assume that libvirt domain is always defined
Define it only when really needed:
 - during VM creation - to generate UUID
 - just before VM startup

As a consequence we must handle possible exception when accessing
vm.libvirt_domain. It would be a good idea to make this field private in
the future. It isn't possible for now because block_* are external for
QubesVm class.

This hopefully fixes race condition when Qubes Manager tries to access
libvirt_domain (using some QubesVm.*) at the same time as other tool is
removing the domain. Additionally if Qubes Manage would loose that race, it could
define the domain again leaving some unused libvirt domain (blocking
that domain name for future use).
2015-03-29 23:38:36 +02:00
..
__init__.py Move all files one level up 2013-03-16 19:56:51 +01:00
01QubesAppVm.py Declare file encoding for all python files, fill missing copyright headers 2014-05-18 21:03:27 +02:00
01QubesDisposableVm.py core: rename create_xenstore_entries, get rid of xid parameter 2015-03-28 22:36:28 +01:00
01QubesHVm.py core: do not assume that libvirt domain is always defined 2015-03-29 23:38:36 +02:00
02QubesTemplateHVm.py core: add dummy QubesTemplateHVm.commit_changes 2015-02-22 03:53:51 +01:00
000QubesVm.py core: do not assume that libvirt domain is always defined 2015-03-29 23:38:36 +02:00
003QubesTemplateVm.py core/modules: debug important VM changes 2015-02-19 21:32:43 +01:00
005QubesNetVm.py core/modules: debug important VM changes 2015-02-19 21:32:43 +01:00
006QubesAdminVm.py core: do not assume that libvirt domain is always defined 2015-03-29 23:38:36 +02:00
006QubesProxyVm.py core: rename create_xenstore_entries, get rid of xid parameter 2015-03-28 22:36:28 +01:00
Makefile rpm+makefile: move build/install code to Makefile files 2014-11-19 12:50:24 +01:00
README.txt Move all files one level up 2013-03-16 19:56:51 +01:00

This directory contains Qubes core modules. It will be loaded in
lexicographical order, use numeric prefix to force load ordering.

0* - Qubes base modules
00* - Qubes core VM classes