Explicit set qemu memory as MB

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

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"])