[PATCH 0/3] softmmu/vl: Deprecate old and crufty display options

Thomas Huth thuth at redhat.com
Tue Jul 6 14:54:10 UTC 2021


-display sdl uses a hand-crafted parser in vl.c, which is quite ugly
since the other parts of -display have been QAPIfied already. A straight
conversion to QAPI is not advisable since the "alt_grab" and "ctrl_grab"
parameters are not the best solution anyway. So this patch series
introduces a new "grab-mod" parameter as replacement instead and then
deprecates the old and crufty options.

While we're at it, the third patch also suggests to deprecated the
old -sdl and -curses top-level options.

Thomas Huth (3):
  softmmu/vl: Add a "grab-mod" parameter to the -display sdl option
  softmmu/vl: Deprecate the old grab options
  softmmu/vl: Deprecate the -sdl and -curses option

 docs/system/deprecated.rst | 20 ++++++++++++++++++++
 qemu-options.hx            | 18 +++++++++++++-----
 softmmu/vl.c               | 24 +++++++++++++++++++++---
 3 files changed, 54 insertions(+), 8 deletions(-)

-- 
2.27.0




More information about the libvir-list mailing list