fixes #543 qemu -nodefconfig deprecated

(cherry picked from commit f66bff5aa7)
This commit is contained in:
Anthony F McInerney 2019-01-08 02:39:09 +00:00 committed by Brian C. Lane
parent 4312408ade
commit cb03752810

View File

@ -175,7 +175,7 @@ class QEMUInstall(object):
if not os.path.exists("/usr/bin/"+qemu_cmd[0]): if not os.path.exists("/usr/bin/"+qemu_cmd[0]):
raise InstallError("%s does not exist, cannot run qemu" % qemu_cmd[0]) raise InstallError("%s does not exist, cannot run qemu" % qemu_cmd[0])
qemu_cmd += ["-nodefconfig"] qemu_cmd += ["-no-user-config"]
qemu_cmd += ["-m", str(memory)] qemu_cmd += ["-m", str(memory)]
if vcpus: if vcpus:
qemu_cmd += ["-smp", str(vcpus)] qemu_cmd += ["-smp", str(vcpus)]