aboutsummaryrefslogtreecommitdiff
path: root/softmmu/vl.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-04-07 11:36:17 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-05-14 14:26:02 +0200
commitdf2ac3cc12d251dcdd268038682fd27882e91bb2 (patch)
treed09a10bd47fe2a6382bdc56055797adb49105b42 /softmmu/vl.c
parentd5c75ec500d96f1d93447f990cd5a4ef5ba27fae (diff)
ui: improve -show-cursor deprecation message
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
Diffstat (limited to 'softmmu/vl.c')
-rw-r--r--softmmu/vl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c
index afd2615fb3..63eeb6ae1b 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -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;