Send a warning notification if there is not enough RAM left to start a VM. Implements #329.

This commit is contained in:
grossmj committed 2015-10-12 15:57:37 -06:00
1 parent c700804014
commit ac75977ae0
8 files changed
+38 -1

No files matched your search

+3
View File
@@ -419,6 +419,9 @@ class VMwareVM(BaseVM):
yield from self._start_ubridge()
self._read_vmx_file()
# check if there is enough RAM to run
if "memsize" in self._vmx_pairs:
self.check_available_ram(int(self._vmx_pairs["memsize"]))
self._set_network_options()
self._set_serial_console()
self._write_vmx_file()