From 0c5a2b1dcc6fd5904913d38a728b27ebe00938f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 8 Oct 2017 16:57:08 +0200 Subject: [PATCH] Fix resizing root volume Use "system storage" value from the window, not "private storage"... Reported by @0spinboson Fixes QubesOS/qubes-issues#3143 --- qubesmanager/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/settings.py b/qubesmanager/settings.py index 629ca5b..c184762 100755 --- a/qubesmanager/settings.py +++ b/qubesmanager/settings.py @@ -375,7 +375,7 @@ class VMSettingsWindow(Ui_SettingsDialog, QDialog): sys_size = self.root_resize.value() if self.root_img_size != sys_size: try: - self.vm.volumes['root'].resize(priv_size * 1024**2) + self.vm.volumes['root'].resize(sys_size * 1024**2) self.anything_changed = True except Exception as ex: msg.append(str(ex))