dom0/core: include VM name in "insufficient memory" message (#534)
This commit is contained in:
parent
db6b9b642c
commit
705699baf2
@ -1391,7 +1391,7 @@ class QubesVm(object):
|
|||||||
qmemman_client = QMemmanClient()
|
qmemman_client = QMemmanClient()
|
||||||
if not qmemman_client.request_memory(mem_required):
|
if not qmemman_client.request_memory(mem_required):
|
||||||
qmemman_client.close()
|
qmemman_client.close()
|
||||||
raise MemoryError ("ERROR: insufficient memory to start this VM")
|
raise MemoryError ("ERROR: insufficient memory to start VM '%s'" % self.name)
|
||||||
|
|
||||||
# Bind pci devices to pciback driver
|
# Bind pci devices to pciback driver
|
||||||
for pci in self.pcidevs:
|
for pci in self.pcidevs:
|
||||||
|
Loading…
Reference in New Issue
Block a user