core-admin/qubes/vm
Marek Marczykowski-Górecki c5667791e8
storage: move volume_config['source'] filling to one place
Don't set 'source' volume in various places (each VM class constructor
etc), do it as part of volume initialization. And when it needs to be
re-calculated, call storage.init_volume again.

This code was duplicated, and as usual in such a case, those copies
were different - one have set 'size', the other one not.

QubesOS/qubes-issues#2256
2017-07-26 03:26:11 +02:00
..
mix Rename 'net/*' features to 'net.*' 2017-07-18 03:50:02 +02:00
__init__.py devices: make attach/detach related events async 2017-07-04 13:04:23 +02:00
adminvm.py Merge remote-tracking branch 'origin/core3-quick-fixes-20170703' 2017-07-04 16:11:18 +02:00
appvm.py storage: move volume_config['source'] filling to one place 2017-07-26 03:26:11 +02:00
dispvm.py storage: move volume_config['source'] filling to one place 2017-07-26 03:26:11 +02:00
qubesvm.py storage: move volume_config['source'] filling to one place 2017-07-26 03:26:11 +02:00
standalonevm.py app: do not create 'default' storage pool 2017-07-25 06:20:42 +02:00
templatevm.py app: do not create 'default' storage pool 2017-07-25 06:20:42 +02:00