From 0018658f606fb5fbfb41f459d6dddc72c911a15c Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Fri, 7 Aug 2015 17:08:10 +0200 Subject: [PATCH] Fix ram setting for Qemu --- gns3server/modules/qemu/qemu_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/modules/qemu/qemu_vm.py b/gns3server/modules/qemu/qemu_vm.py index 67a98b41..8a098829 100644 --- a/gns3server/modules/qemu/qemu_vm.py +++ b/gns3server/modules/qemu/qemu_vm.py @@ -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"])