fixes #543 qemu -nodefconfig deprecated
(cherry picked from commit f66bff5aa7
)
This commit is contained in:
parent
4312408ade
commit
cb03752810
@ -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)]
|
||||||
|
Loading…
Reference in New Issue
Block a user