core-admin/qubes
Marek Marczykowski-Górecki 6b474e39f6
storage/lvm: update volume.size attribute on resize
When volume is resized, underlying LVM is adjusted if exists. For
persistent volumes it is enough, as generally the driver prefers
underlying LVM size than internal attribute. But volatile volume is
removed at vm shutdown, so that value is lost.

Fix it by updating Volume.size attribute too, to be updated in qubes.xml
later too.

Fixes QubesOS/qubes-issues#5645
2020-02-12 21:44:16 +01:00
..
api Merge remote-tracking branch 'origin/pr/312' 2020-02-06 23:31:43 +01:00
ext Support qubes.VMExec call 2020-01-24 16:57:13 +01:00
qmemman qmemmand: separate SystemState init xc and xs to a 'init' method 2019-11-22 21:38:27 +01:00
storage storage/lvm: update volume.size attribute on resize 2020-02-12 21:44:16 +01:00
tests Merge remote-tracking branch 'origin/pr/312' 2020-02-06 23:31:43 +01:00
tools qmemmand: separate SystemState init xc and xs to a 'init' method 2019-11-22 21:38:27 +01:00
vm Remove leftovers from QubesVM.run_for_stdio() refactoring 2020-01-24 16:59:42 +01:00
__init__.py Fixed unexpected error on empty default template and incorrect error handling 2019-09-19 20:20:36 +02:00
app.py Move devices check to on_domain_pre_deleted 2020-01-21 15:35:30 +01:00
backup.py Correct comments in to match current code behavior 2020-01-28 23:02:43 +00:00
config.py vm/adminvm: add run_service* functions 2019-06-09 21:00:02 +02:00
devices.py Make pylint happy 2019-09-27 16:29:20 +02:00
dochelpers.py Fix Sphinx 2 new API for Fedora 31+ 2019-11-22 21:39:31 +01:00
events.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
exc.py Fixed Exceptions inferiting from KeyError 2019-12-09 21:02:24 +01:00
features.py qubes/features: check_with_(template_and_)adminvm 2018-12-20 18:28:33 +01:00
firewall.py Make pylint happy 2019-09-27 16:29:20 +02:00
log.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
rngdoc.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
tarwriter.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
utils.py Fix invalid timezone 2019-08-06 18:23:00 -03:00