fixes #543 qemu -nodefconfig deprecated

Use -no-user-config instead.

Resolves: rhbz#1904168

(cherry picked from commit f66bff5aa7)
Signed-off-by: Brian C. Lane <bcl@redhat.com>
This commit is contained in:
Anthony F McInerney 2019-01-08 02:39:09 +00:00 committed by Brian C. Lane
parent 74567d1ae7
commit 4d7dc6f1de

View File

@ -166,7 +166,7 @@ class QEMUInstall(object):
if not os.path.exists(qemu_cmd[0]): if not os.path.exists(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)]