dom0/core: include VM name in "insufficient memory" message (#534)

This commit is contained in:
Marek Marczykowski 2012-04-24 01:38:02 +02:00
parent db6b9b642c
commit 705699baf2

View File

@ -1391,7 +1391,7 @@ class QubesVm(object):
qmemman_client = QMemmanClient()
if not qmemman_client.request_memory(mem_required):
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
for pci in self.pcidevs: