1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 03:08:14 +00:00

Fix ram setting for Qemu

This commit is contained in:
Julien Duponchelle 2015-08-07 17:08:10 +02:00
parent 55f7c79918
commit 0018658f60

View File

@ -1386,7 +1386,7 @@ class QemuVM(BaseVM):
command = [self.qemu_path]
command.extend(["-name", self._name])
command.extend(["-m {}M".format(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"])