Explicit set qemu memory as MB

This commit is contained in:
Julien Duponchelle committed 2015-08-07 17:03:06 +02:00
1 parent 323674ba5c
commit 55f7c79918
2 files changed
+2 -4

No files matched your search

+1 -1
View File
@@ -1386,7 +1386,7 @@ class QemuVM(BaseVM):
command = [self.qemu_path]
command.extend(["-name", self._name])
command.extend(["-m", str(self._ram)])
command.extend(["-m {}M".format(self._ram)])
command.extend(["-smp", "cpus={}".format(self._cpus)])
if self._run_with_kvm(self.qemu_path, self._options):
command.extend(["-enable-kvm"])