Go to file
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
core core: do not assume that libvirt domain is always defined 2015-03-29 23:38:36 +02:00
core-modules core: do not assume that libvirt domain is always defined 2015-03-29 23:38:36 +02:00
dispvm core: rename create_xenstore_entries, get rid of xid parameter 2015-03-28 22:36:28 +01:00
doc doc: typo fix 2015-01-30 01:40:41 +01:00
linux linux: set sgid for /var/run/qubes 2015-03-19 10:31:50 +01:00
qmemman Move dispvm+qmemman service files to relevant directories 2014-11-19 12:50:25 +01:00
qubes-rpc move qubes-notify-* to libexec 2014-11-19 12:50:25 +01:00
qubes-rpc-policy qubes-rpc-policy/qubes.GetImageRGBA.policy 2014-05-20 17:49:20 +02:00
qvm-tools core: rename create_xenstore_entries, get rid of xid parameter 2015-03-28 22:36:28 +01:00
rpm_spec Use tmpfile.d to create /var/run subdirs 2015-02-02 04:48:42 +01:00
site-packages add convenient symlinks simulating target python files layout 2014-03-10 01:05:01 +01:00
site-packages-qmemman Convenient link for qmemman 2014-04-23 12:53:41 +02:00
tests tests/network: release QubesVmCollection lock before starting any VM 2015-03-29 17:33:34 +02:00
vm-config Explicitly enable emulated GPU 2015-02-09 06:04:31 +01:00
.gitignore .gitignore: added *.msm 2014-11-19 12:50:31 +01:00
installer.wxs windows/installer: configurable destination directory 2014-11-19 12:50:31 +01:00
LICENSE Added LICENSE 2010-04-05 21:21:27 +02:00
Makefile windows: installer 2014-11-19 12:50:30 +01:00
Makefile.builder windows: installer 2014-11-19 12:50:30 +01:00
version version 3.0.1 2015-03-26 23:53:22 +01:00