From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>,
Michael Tokarev <mjt@tls.msk.ru>,
Laurent Vivier <laurent@vivier.eu>,
qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>, Thomas Huth <thuth@redhat.com>
Subject: Re: [PATCH-for-9.1 6/7] hw/core: Move reset.c to hwcore_ss[] source set
Date: Mon, 8 Apr 2024 08:00:20 +0200 [thread overview]
Message-ID: <7dc08fb0-9013-46b6-ba16-01cbdb0733c3@linaro.org> (raw)
In-Reply-To: <f96cb1da-09ea-4708-9616-bc2560d63d5f@linaro.org>
On 6/4/24 00:44, Richard Henderson wrote:
> On 4/4/24 09:47, Philippe Mathieu-Daudé wrote:
>> reset.c contains core code used by any CPU, required
>> by user emulation. Move it to hwcore_ss[] where it
>> belongs.
>>
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
>> ---
>> hw/core/meson.build | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/hw/core/meson.build b/hw/core/meson.build
>> index e26f2e088c..1389f1b339 100644
>> --- a/hw/core/meson.build
>> +++ b/hw/core/meson.build
>> @@ -3,7 +3,6 @@ hwcore_ss.add(files(
>> 'bus.c',
>> 'qdev-properties.c',
>> 'qdev.c',
>> - 'reset.c',
>> 'resetcontainer.c',
>> 'resettable.c',
>> 'vmstate-if.c',
>> @@ -16,6 +15,7 @@ if have_system
>> hwcore_ss.add(files(
>> 'hotplug.c',
>> 'qdev-hotplug.c',
>> + 'reset.c',
>
> This patch would seem to obviate the previous?
No, hwcore_ss[] is used for both system/user.
As its name suggests, "sysemu/reset.h" is system specific.
We don't want to compile its definitions and link them to
a user-only build.
I can squash both if it makes it more obvious.
Regards,
Phil.
next prev parent reply other threads:[~2024-04-08 6:00 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-04 19:47 [PATCH-for-9.1 0/7] buildsys: Start shrinking qemu-user build process Philippe Mathieu-Daudé
2024-04-04 19:47 ` [PATCH-for-9.1 1/7] ebpf: Restrict to system emulation Philippe Mathieu-Daudé
2024-04-04 22:14 ` Richard Henderson
2024-04-08 6:29 ` Jason Wang
2024-04-04 19:47 ` [PATCH-for-9.1 2/7] yank: " Philippe Mathieu-Daudé
2024-04-04 22:15 ` Richard Henderson
2024-04-08 8:48 ` Paolo Bonzini
2024-04-04 19:47 ` [PATCH-for-9.1 3/7] monitor: Rework stubs to simplify user emulation linking Philippe Mathieu-Daudé
2024-04-08 9:50 ` Paolo Bonzini
2024-04-08 10:59 ` Philippe Mathieu-Daudé
2024-04-04 19:47 ` [PATCH-for-9.1 4/7] util/qemu-config: Extract QMP commands to qemu-config-qmp.c Philippe Mathieu-Daudé
2024-04-08 8:50 ` Paolo Bonzini
2024-04-04 19:47 ` [PATCH-for-9.1 5/7] hw/core: Restrict reset handlers API to system emulation Philippe Mathieu-Daudé
2024-04-08 10:09 ` Paolo Bonzini
2024-04-04 19:47 ` [PATCH-for-9.1 6/7] hw/core: Move reset.c to hwcore_ss[] source set Philippe Mathieu-Daudé
2024-04-05 22:44 ` Richard Henderson
2024-04-08 6:00 ` Philippe Mathieu-Daudé [this message]
2024-04-04 19:47 ` [PATCH-for-9.1 7/7] hw: Include minimal source set in user emulation build Philippe Mathieu-Daudé
2024-04-05 22:45 ` Richard Henderson
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=7dc08fb0-9013-46b6-ba16-01cbdb0733c3@linaro.org \
--to=philmd@linaro.org \
--cc=laurent@vivier.eu \
--cc=mjt@tls.msk.ru \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).