[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 7/7] ui: deprecate legacy -show-cursor option
From: |
Gerd Hoffmann |
Subject: |
[PATCH v3 7/7] ui: deprecate legacy -show-cursor option |
Date: |
Fri, 7 Feb 2020 11:17:53 +0100 |
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Ján Tomko <address@hidden>
---
vl.c | 2 ++
qemu-deprecated.texi | 5 +++++
2 files changed, 7 insertions(+)
diff --git a/vl.c b/vl.c
index 62efcd15c0bf..001be469c2e9 100644
--- a/vl.c
+++ b/vl.c
@@ -3562,6 +3562,8 @@ int main(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");
dpy.has_show_cursor = true;
dpy.show_cursor = true;
break;
diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi
index ea3e10bde398..c1444d1839bd 100644
--- a/qemu-deprecated.texi
+++ b/qemu-deprecated.texi
@@ -148,6 +148,11 @@ QEMU 5.0 introduced an alternative syntax to specify the
size of the translation
block cache, @option{-accel tcg,tb-size=}. The new syntax deprecates the
previously available @option{-tb-size} option.
+@subsection -show-cursor option (since 5.0)
+
+Use @option{-display sdl,show-cursor=on} or
+ @option{-display gtk,show-cursor=on} instead.
+
@section QEMU Machine Protocol (QMP) commands
@subsection change (since 2.5.0)
--
2.18.1
- [PATCH v3 0/7] ui: rework -show-cursor option, Gerd Hoffmann, 2020/02/07
- [PATCH v3 2/7] ui: wire up legacy -show-cursor option, Gerd Hoffmann, 2020/02/07
- [PATCH v3 3/7] ui/sdl: switch to new show-cursor option, Gerd Hoffmann, 2020/02/07
- [PATCH v3 7/7] ui: deprecate legacy -show-cursor option,
Gerd Hoffmann <=
- [PATCH v3 6/7] ui: drop curor_hide global variable., Gerd Hoffmann, 2020/02/07
- [PATCH v3 5/7] ui/gtk: implement show-cursor option, Gerd Hoffmann, 2020/02/07
- [PATCH v3 1/7] ui: add show-cursor option, Gerd Hoffmann, 2020/02/07
- [PATCH v3 4/7] ui/cocoa: switch to new show-cursor option, Gerd Hoffmann, 2020/02/07
- Re: [PATCH v3 0/7] ui: rework -show-cursor option, Ján Tomko, 2020/02/08