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

@ -94,12 +94,6 @@ QEMU 5.1 has three options:
to the user to load all the images they need. to the user to load all the images they need.
3. ``-bios <file>`` - Tells QEMU to load the specified file as the firmwrae. 3. ``-bios <file>`` - Tells QEMU to load the specified file as the firmwrae.
``-show-cursor`` option (since 5.0)
'''''''''''''''''''''''''''''''''''
Use ``-display sdl,show-cursor=on`` or
``-display gtk,show-cursor=on`` instead.
``Configuring floppies with ``-global`` ``Configuring floppies with ``-global``
''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''

View File

@ -26,6 +26,12 @@ The ``-no-kvm`` argument was a synonym for setting ``-machine accel=tcg``.
The ``-realtime mlock=on|off`` argument has been replaced by the The ``-realtime mlock=on|off`` argument has been replaced by the
``-overcommit mem-lock=on|off`` argument. ``-overcommit mem-lock=on|off`` argument.
``-show-cursor`` option (since 5.0)
'''''''''''''''''''''''''''''''''''
Use ``-display sdl,show-cursor=on``, ``-display gtk,show-cursor=on``
or ``-display default,show-cursor=on`` instead.
``-tb-size`` option (removed in 6.0) ``-tb-size`` option (removed in 6.0)
'''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''''''''''

View File

@ -4092,13 +4092,6 @@ SRST
ERST ERST
DEF("show-cursor", 0, QEMU_OPTION_show_cursor, \
"-show-cursor show cursor\n", QEMU_ARCH_ALL)
SRST
``-show-cursor``
Show cursor.
ERST
DEF("incoming", HAS_ARG, QEMU_OPTION_incoming, \ DEF("incoming", HAS_ARG, QEMU_OPTION_incoming, \
"-incoming tcp:[host]:port[,to=maxport][,ipv4][,ipv6]\n" \ "-incoming tcp:[host]:port[,to=maxport][,ipv4][,ipv6]\n" \
"-incoming rdma:host:port[,ipv4][,ipv6]\n" \ "-incoming rdma:host:port[,ipv4][,ipv6]\n" \

View File

@ -3204,14 +3204,6 @@ void qemu_init(int argc, char **argv, char **envp)
olist = qemu_find_opts("action"); olist = qemu_find_opts("action");
qemu_opts_parse_noisily(olist, "panic=pause,shutdown=pause", false); qemu_opts_parse_noisily(olist, "panic=pause,shutdown=pause", false);
break; 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: case QEMU_OPTION_uuid:
if (qemu_uuid_parse(optarg, &qemu_uuid) < 0) { if (qemu_uuid_parse(optarg, &qemu_uuid) < 0) {
error_report("failed to parse UUID string: wrong format"); error_report("failed to parse UUID string: wrong format");