core-admin/qubes
Marek Marczykowski-Górecki 1418555346
qubes/vm: don't fail on removing VM without files
VM files may be already removed. Don't fail on this while removing a
VM, it's probably the reason why domain is being removed.

qvm-remove tool have its own guard for this, but it isn't enough - if
rmtree(dir_path) fails, storage.remove() would not be called, so
non-file storages would not be cleaned up.

This is also needed to correctly handle template reinstallation - where
VM directory is moved away to call create_on_disk again.

QubesOS/qubes-issues#2412
2016-11-26 04:08:07 +01:00
..
ext qubes/features: rename 'services/ntpd' to 'service/ntpd' 2016-11-26 04:08:06 +01:00
qmemman qmemman: fix meminfo handling 2016-09-13 02:15:25 +02:00
storage Merge remote-tracking branch 'origin/pull/68/head' into core3-devel 2016-11-15 17:41:47 +01:00
tests Merge remote-tracking branch 'marmarek/core3-fake-ip' into core3-devel 2016-11-15 17:40:30 +01:00
tools qubes/tools: accept properties with '-' 2016-11-26 04:08:07 +01:00
vm qubes/vm: don't fail on removing VM without files 2016-11-26 04:08:07 +01:00
__init__.py qubes: Document all the events 2016-10-25 17:11:38 +02:00
app.py qubes/tools/qubes-create: reject overriding existing qubes.xml 2016-11-26 04:08:06 +01:00
backup.py backup: fixup restore options just before restoring VMs 2016-10-28 11:53:34 +02:00
config.py pylint fixes 2016-06-10 21:27:29 +02:00
core2migration.py Merge remote-tracking branch 'marmarek/core3-backup2' into core3-devel 2016-11-15 17:34:12 +01:00
devices.py qubes/ext/pci: move PCI devices handling to an extension 2016-09-03 20:41:03 +02:00
dochelpers.py Make pylint happy 2016-10-11 13:42:37 +02:00
events.py Add catch-all '*' to event handlers 2016-09-28 21:28:43 +02:00
exc.py core3: add different exceptions 2015-10-17 00:17:12 +02:00
firewall.py Make pylint happy 2016-09-19 20:36:32 +02:00
log.py qubes/log: ensure logs are group writable 2016-11-26 04:08:07 +01:00
rngdoc.py qubes: pylint fixes (small mistakes and wrong names) 2015-06-29 17:39:27 +02:00
tarwriter.py qubes/tarwriter: add simple sparse-tar writer module 2016-10-05 01:54:41 +02:00
utils.py Add qubes.utils.random_string() 2016-08-03 02:57:40 +02:00