From: Richard Henderson <richard.henderson@linaro.org>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>, qemu-devel@nongnu.org
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Eduardo Habkost" <eduardo@habkost.net>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Yanan Wang" <wangyanan55@huawei.com>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>,
"Thomas Huth" <thuth@redhat.com>
Subject: Re: [PATCH-for-8.0 2/5] cpu: Move cpu_class_init_props() to common code
Date: Wed, 30 Nov 2022 14:17:59 -0800 [thread overview]
Message-ID: <dbdd478d-c492-62ae-0fe4-c01eaa5f23eb@linaro.org> (raw)
In-Reply-To: <20221130135241.85060-3-philmd@linaro.org>
On 11/30/22 05:52, Philippe Mathieu-Daudé wrote:
> This code is not target-specific.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> cpu.c | 53 ---------------------------------------------------
> cpus-common.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 53 insertions(+), 53 deletions(-)
>
> diff --git a/cpu.c b/cpu.c
> index 4a7d865427..d4b24ea39a 100644
> --- a/cpu.c
> +++ b/cpu.c
> @@ -21,8 +21,6 @@
> #include "qapi/error.h"
>
> #include "exec/target_page.h"
> -#include "hw/qdev-core.h"
> -#include "hw/qdev-properties.h"
> #include "qemu/error-report.h"
> #include "migration/vmstate.h"
> #ifdef CONFIG_USER_ONLY
> @@ -183,57 +181,6 @@ void cpu_exec_unrealizefn(CPUState *cpu)
> cpu_list_remove(cpu);
> }
>
> -/*
> - * This can't go in hw/core/cpu.c because that file is compiled only
> - * once for both user-mode and system builds.
> - */
> -static Property cpu_common_props[] = {
> -#ifdef CONFIG_USER_ONLY
It is "target" specific in the general sense, in that CONFIG_USER_ONLY is either set or unset.
r~
next prev parent reply other threads:[~2022-11-30 22:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-30 13:52 [PATCH-for-8.0 0/5] cpu: Move target-independent code to common code Philippe Mathieu-Daudé
2022-11-30 13:52 ` [PATCH-for-8.0 1/5] cpu: Remove capstone meson dependency Philippe Mathieu-Daudé
2023-02-27 10:54 ` Marc-André Lureau
2022-11-30 13:52 ` [PATCH-for-8.0 2/5] cpu: Move cpu_class_init_props() to common code Philippe Mathieu-Daudé
2022-11-30 22:17 ` Richard Henderson [this message]
2022-11-30 13:52 ` [PATCH-for-8.0 3/5] cpu: Move breakpoint helpers " Philippe Mathieu-Daudé
2022-11-30 22:19 ` Richard Henderson
2022-11-30 13:52 ` [PATCH-for-8.0 4/5] cpu: Move cpu_abort() " Philippe Mathieu-Daudé
2022-11-30 22:20 ` Richard Henderson
2022-11-30 13:52 ` [PATCH-for-8.0 5/5] cpu: Remove unused includes Philippe Mathieu-Daudé
2022-11-30 22:20 ` Richard Henderson
2022-11-30 15:35 ` [PATCH-for-8.0 0/5] cpu: Move target-independent code to common code Paolo Bonzini
2022-11-30 22:21 ` 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=dbdd478d-c492-62ae-0fe4-c01eaa5f23eb@linaro.org \
--to=richard.henderson@linaro.org \
--cc=berrange@redhat.com \
--cc=eduardo@habkost.net \
--cc=marcandre.lureau@redhat.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
--cc=wangyanan55@huawei.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).