1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-26 00:38:10 +00:00

Fix sending smm option to qemu

Fix #689
This commit is contained in:
Julien Duponchelle 2016-09-26 15:15:38 +02:00
parent 2bbdbeaa82
commit ef95ba1ed8
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
2 changed files with 3 additions and 2 deletions

View File

@ -1428,7 +1428,7 @@ class QemuVM(BaseVM):
# Issue on some combo Intel CPU + KVM + Qemu 2.4.0 # Issue on some combo Intel CPU + KVM + Qemu 2.4.0
# https://github.com/GNS3/gns3-server/issues/685 # https://github.com/GNS3/gns3-server/issues/685
if version and parse_version(version) >= parse_version("2.4.0"): if version and parse_version(version) >= parse_version("2.4.0"):
command.extend(["-machine smm=off"]) command.extend(["-machine", "smm=off"])
command.extend(["-boot", "order={}".format(self._boot_priority)]) command.extend(["-boot", "order={}".format(self._boot_priority)])
cdrom_option = self._cdrom_option() cdrom_option = self._cdrom_option()
command.extend(cdrom_option) command.extend(cdrom_option)

View File

@ -481,7 +481,8 @@ def test_build_command_kvm_2_4(linux_platform, vm, loop, fake_qemu_binary, port_
"-smp", "-smp",
"cpus=1", "cpus=1",
"-enable-kvm", "-enable-kvm",
"-machine smm=off", "-machine",
"smm=off",
"-boot", "-boot",
"order=c", "order=c",
"-serial", "-serial",