]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
ui: improve -show-cursor deprecation message
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 7 Apr 2020 09:36:17 +0000 (11:36 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 14 May 2020 12:26:02 +0000 (14:26 +0200)
Specifically explain what users should do in case they don't use
-display yet and depend on the qemu picking the ui for them.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200407093617.10058-1-kraxel@redhat.com

softmmu/vl.c

index afd2615fb3251114df1c7db5c39783e7adca1ada..63eeb6ae1bdb2cfe59ec3877a4924e8e397b5564 100644 (file)
@@ -3531,8 +3531,10 @@ void qemu_init(int argc, char **argv, char **envp)
                 no_shutdown = 1;
                 break;
             case QEMU_OPTION_show_cursor:
-                warn_report("The -show-cursor option is deprecated, "
-                            "use -display {sdl,gtk},show-cursor=on instead");
+                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;