pmb.qemu.run: get rid of -show-cursor (MR 2053)

Qemu has been upgraded to 6.0.0 in Alpine edge. This version doesn't
only warn about -show-cursor, it refuses to start up with the option
set.

Fixes: issue 1995
This commit is contained in:
Oliver Smith 2021-05-02 13:43:51 +02:00
parent caeb991af6
commit 59736b601f
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 3 additions and 2 deletions

View File

@ -193,8 +193,9 @@ def command_qemu(args, arch, img_path, img_path_2nd=None):
if display != "none":
display += ",gl=" + ("on" if args.qemu_gl else "off")
command += ["-display", display]
command += ["-show-cursor"]
# Separate -show-cursor option is deprecated. If your host qemu fails here,
# it's old (#1995).
command += ["-display", f"{display},show-cursor=on"]
# Audio support
if args.qemu_audio: