Remove the deprecated -show-cursor option

It has been marked as deprecated since QEMU v5.0, replaced by the
corresponding parameter of the -display option.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20201210155808.233895-5-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Thomas Huth 2020-12-10 16:58:08 +01:00 committed by Paolo Bonzini
parent c8c9dc42b7
commit 90d6a086bb
4 changed files with 6 additions and 21 deletions

View file

@ -3204,14 +3204,6 @@ void qemu_init(int argc, char **argv, char **envp)
olist = qemu_find_opts("action");
qemu_opts_parse_noisily(olist, "panic=pause,shutdown=pause", false);
break;
case QEMU_OPTION_show_cursor:
warn_report("The -show-cursor option is deprecated. Please "
"add show-cursor=on to your -display options.");
warn_report("When using the default display you can use "
"-display default,show-cursor=on");
dpy.has_show_cursor = true;
dpy.show_cursor = true;
break;
case QEMU_OPTION_uuid:
if (qemu_uuid_parse(optarg, &qemu_uuid) < 0) {
error_report("failed to parse UUID string: wrong format");