Merge branch 'master' into 2.0

This commit is contained in:
Julien Duponchelle 2016-10-04 14:53:50 +02:00
commit 7baf584367
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -1489,7 +1489,7 @@ class QemuVM(BaseNode):
version = yield from self.manager.get_qemu_version(self.qemu_path) version = yield from self.manager.get_qemu_version(self.qemu_path)
# 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") and self.platform == "x86_64":
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()