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 d2ef0be450
commit c5cc6620d3

View File

@ -1374,7 +1374,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: