tools/libxl: Replace deprecated -sdl option on QEMU command line
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 11 Aug 2022 09:47:11 +0000 (11:47 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 11 Aug 2022 09:47:11 +0000 (11:47 +0200)
commit41fcb3af8ad6d4c9f65a9d72798e6d18afec55ac
treef7251094ed7aec2945635f95c23e0de58f7920b7
parentc79e4d209be3ed2a6b8e97c35944786ed2a66b94
tools/libxl: Replace deprecated -sdl option on QEMU command line

"-sdl" is deprecated upstream since 6695e4c0fd9e ("softmmu/vl:
Deprecate the -sdl and -curses option"), QEMU v6.2, and the option is
removed by 707d93d4abc6 ("ui: Remove deprecated options "-sdl" and
"-curses""), in upcoming QEMU v7.1.

Instead, use "-display sdl", available since 1472a95bab1e ("Introduce
-display argument"), before QEMU v1.0.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jason Andryuk <jandryuk@gmail.com>
tools/libs/light/libxl_dm.c