[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/2] ui: improve -show-cursor deprecation message
From: |
Gerd Hoffmann |
Subject: |
[PULL 1/2] ui: improve -show-cursor deprecation message |
Date: |
Fri, 15 May 2020 10:21:44 +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 <address@hidden>
Message-id: address@hidden
---
softmmu/vl.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/softmmu/vl.c b/softmmu/vl.c
index afd2615fb325..63eeb6ae1bdb 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;
--
2.18.4