From: "Dr. David Alan Gilbert" <dave@treblig.org>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: "Manos Pitsidianakis" <manos.pitsidianakis@linaro.org>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
qemu-devel@nongnu.org,
"Pierrick Bouvier" <pierrick.bouvier@linaro.org>,
"Anton Johansson" <anjo@rev.ng>
Subject: Re: [PATCH 6/6] monitor/hmp: Merge hmp-cmds-target.c within hmp-cmds.c
Date: Thu, 25 Dec 2025 00:53:17 +0000 [thread overview]
Message-ID: <aUyK_Qcb8-czgmXO@gallifrey> (raw)
In-Reply-To: <e36cb7e3-799e-4a3c-89c6-4b5242f57344@linaro.org>
* Philippe Mathieu-Daudé (philmd@linaro.org) wrote:
> On 24/12/25 15:24, Manos Pitsidianakis wrote:
> > On Wed, Dec 24, 2025 at 3:40 PM Philippe Mathieu-Daudé
> > <philmd@linaro.org> wrote:
> > >
> > > hmp-cmds-target.c is no more target specific, move its code
> > > in hmp-cmds.c, which is built once for all system binaries.
> > >
> > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> > > ---
> > > monitor/hmp-cmds-target.c | 383 --------------------------------------
> > > monitor/hmp-cmds.c | 354 +++++++++++++++++++++++++++++++++++
> > > monitor/meson.build | 2 +-
> > > 3 files changed, 355 insertions(+), 384 deletions(-)
> > > delete mode 100644 monitor/hmp-cmds-target.c
>
>
> > > diff --git a/monitor/meson.build b/monitor/meson.build
> > > index a71523a1ce8..763fcaba6c5 100644
> > > --- a/monitor/meson.build
> > > +++ b/monitor/meson.build
> > > @@ -9,4 +9,4 @@ system_ss.add(files(
> > > system_ss.add([spice_headers, files('qmp-cmds.c')])
> > >
> > > specific_ss.add(when: 'CONFIG_SYSTEM_ONLY',
> > > - if_true: [files( 'hmp-cmds-target.c', 'hmp-target.c'), spice])
> > > + if_true: [files('hmp-target.c'), spice])
> >
> > Nit: Indentation?
>
> We usually don't use tabs in meson.build files, and indent as 2 spaces,
> but I couldn't find any documented style enforcement :/
Looking at ui/meson.build and audio/meson.build, it looks like if_true: on
separate lines are generally aligned with the (
(ish....)
Dave
> Paolo, Marc-André, any preference?
>
> >
> > Otherwise
> >
> > Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
>
> Thanks!
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
prev parent reply other threads:[~2025-12-25 0:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-24 13:39 [PATCH 0/6] monitor: Merge hmp-cmds-target.c within hmp-cmds.c Philippe Mathieu-Daudé
2025-12-24 13:39 ` [PATCH 1/6] monitor/hmp: Replace target_ulong -> vaddr in hmp_gva2gpa() Philippe Mathieu-Daudé
2025-12-24 14:17 ` Manos Pitsidianakis
2025-12-25 0:09 ` Dr. David Alan Gilbert
2025-12-24 13:39 ` [PATCH 2/6] monitor/hmp: Use plain uint64_t @addr argument in memory_dump() Philippe Mathieu-Daudé
2025-12-24 14:18 ` Manos Pitsidianakis
2025-12-25 0:18 ` Dr. David Alan Gilbert
2025-12-24 13:39 ` [PATCH 3/6] monitor/hmp: Remove target_long uses " Philippe Mathieu-Daudé
2025-12-24 14:19 ` Manos Pitsidianakis
2025-12-24 13:39 ` [PATCH 4/6] monitor/hmp: Inline ld[uw, l, q]_p() calls " Philippe Mathieu-Daudé
2025-12-24 14:19 ` Manos Pitsidianakis
2025-12-24 13:39 ` [PATCH 5/6] monitor/hmp: Fix coding style in hmp-cmds-target.c Philippe Mathieu-Daudé
2025-12-24 14:21 ` Manos Pitsidianakis
2025-12-25 0:40 ` Dr. David Alan Gilbert
2025-12-24 13:39 ` [PATCH 6/6] monitor/hmp: Merge hmp-cmds-target.c within hmp-cmds.c Philippe Mathieu-Daudé
2025-12-24 14:24 ` Manos Pitsidianakis
2025-12-24 15:26 ` Philippe Mathieu-Daudé
2025-12-25 0:53 ` Dr. David Alan Gilbert [this message]
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=aUyK_Qcb8-czgmXO@gallifrey \
--to=dave@treblig.org \
--cc=anjo@rev.ng \
--cc=manos.pitsidianakis@linaro.org \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=pierrick.bouvier@linaro.org \
--cc=qemu-devel@nongnu.org \
/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.