From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: qemu-devel@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>,
libvir-list@redhat.com, Paolo Bonzini <pbonzini@redhat.com>,
Eric Blake <eblake@redhat.com>,
Markus Armbruster <armbru@redhat.com>
Subject: Re: [PATCH 2/3] ui: Switch "-display sdl" to use the QAPI parser
Date: Thu, 12 May 2022 09:20:59 +0100 [thread overview]
Message-ID: <YnzDa/Nzu9TfpQpN@redhat.com> (raw)
In-Reply-To: <20220511175147.917707-3-thuth@redhat.com>
On Wed, May 11, 2022 at 07:51:46PM +0200, Thomas Huth wrote:
> The "-display sdl" option still uses a hand-crafted parser for its
> parameters since some of them used underscores which is forbidden
> in QAPI. Now that the problematic parameters have been removed, we can
> switch to use the QAPI parser instead.
>
> This introduces the new "DisplaySDL" QAPI struct that is used to hold
> the parameters that are unique to the SDL display. The only specific
> parameter is currently "grab-mod" which is modeled as a string, so that
> it could be extended for other arbitrary modifiers later more easily.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> qapi/ui.json | 17 +++++++++-
> include/sysemu/sysemu.h | 2 --
> softmmu/globals.c | 2 --
> softmmu/vl.c | 70 +----------------------------------------
> ui/sdl2.c | 13 ++++++++
> 5 files changed, 30 insertions(+), 74 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2022-05-12 8:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-11 17:51 [PATCH 0/3] ui: Remove deprecated sdl parameters and switch to QAPI parser Thomas Huth
2022-05-11 17:51 ` [PATCH 1/3] ui: Remove deprecated parameters of the "-display sdl" option Thomas Huth
2022-05-12 8:16 ` Daniel P. Berrangé
2022-05-11 17:51 ` [PATCH 2/3] ui: Switch "-display sdl" to use the QAPI parser Thomas Huth
2022-05-12 8:20 ` Daniel P. Berrangé [this message]
2022-05-12 12:16 ` Markus Armbruster
2022-05-17 8:34 ` Thomas Huth
2022-05-17 9:08 ` Markus Armbruster
2022-05-17 9:49 ` Paolo Bonzini
2022-05-17 11:19 ` Markus Armbruster
2022-05-17 13:18 ` Thomas Huth
2022-05-11 17:51 ` [PATCH 3/3] ui: Remove deprecated options "-sdl" and "-curses" Thomas Huth
2022-05-12 8:21 ` Daniel P. Berrangé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YnzDa/Nzu9TfpQpN@redhat.com \
--to=berrange@redhat.com \
--cc=armbru@redhat.com \
--cc=eblake@redhat.com \
--cc=kraxel@redhat.com \
--cc=libvir-list@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.