From 820e5c0e699b298f17f0e19b4977ad2a1165e1b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 10 Oct 2015 02:40:01 +0200 Subject: [PATCH] Update stubdom memory allocation to 44MB Since 677a79b "hvm: change default graphics to std vga ('xen')", stubdomain uses 44MB RAM QubesOS/qubes-issues#1136 --- core-modules/01QubesHVm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core-modules/01QubesHVm.py b/core-modules/01QubesHVm.py index f7cedc41..8ce214ac 100644 --- a/core-modules/01QubesHVm.py +++ b/core-modules/01QubesHVm.py @@ -337,8 +337,8 @@ class QubesHVm(QubesVm): raise QubesException("Cannot start the HVM while its template is running") try: if 'mem_required' not in kwargs: - # Reserve 32MB for stubdomain - kwargs['mem_required'] = (self.memory + 32) * 1024 * 1024 + # Reserve 44MB for stubdomain + kwargs['mem_required'] = (self.memory + 44) * 1024 * 1024 return super(QubesHVm, self).start(*args, **kwargs) except QubesException as e: capabilities = vmm.libvirt_conn.getCapabilities()