Update stubdom memory allocation to 44MB
Since 677a79b
"hvm: change default graphics to std vga ('xen')",
stubdomain uses 44MB RAM
QubesOS/qubes-issues#1136
This commit is contained in:
parent
912d4c1447
commit
820e5c0e69
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user