qemu wasn't restoring the terminal if it was terminated early

You would need to run reset to regain control of your terminal after
this happened, so this turns off the monitor and serial port mux to
stdout.

Resolves: rhbz#1691632
This commit is contained in:
Brian C. Lane 2019-03-22 15:19:50 -07:00
parent 59f0870940
commit 6529b3e5e8

View File

@ -214,7 +214,7 @@ class QEMUInstall(object):
else: else:
display_args = opts.vnc display_args = opts.vnc
log.info("qemu %s", display_args) log.info("qemu %s", display_args)
qemu_cmd += ["-nographic", "-display", display_args ] qemu_cmd += ["-nographic", "-monitor", "none", "-serial", "null", "-display", display_args ]
# Setup virtio networking # Setup virtio networking
qemu_cmd += ["-netdev", "user,id=n1", "-device", "virtio-net-pci,netdev=n1"] qemu_cmd += ["-netdev", "user,id=n1", "-device", "virtio-net-pci,netdev=n1"]