From: Paolo Bonzini <pbonzini@redhat.com>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>, qemu-devel@nongnu.org
Cc: Richard Henderson <richard.henderson@linaro.org>,
Claudio Fontana <cfontana@suse.de>
Subject: Re: [PATCH] exec/cpu-defs: Remove TCG backends dependency
Date: Thu, 4 Feb 2021 19:19:42 +0100 [thread overview]
Message-ID: <0e3863f5-179c-7bb9-e5de-5a5a6d21c2c6@redhat.com> (raw)
In-Reply-To: <20210204180328.1735105-1-f4bug@amsat.org>
On 04/02/21 19:03, Philippe Mathieu-Daudé wrote:
> "exec/cpu-defs.h" contains common CPU definitions for
> accelerators, which is not related to the TCG backends.
> See tcg/README description:
Most of the definitions are actually for TCG, not for all accelerators
(the TLB mostly).
However, they're indeed unrelated to the backends, so
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
I'll let the TCG people pick it up.
Paolo
> 4) Backend
>
> tcg-target.h contains the target specific definitions. tcg-target.c.inc
> contains the target specific code; it is #included by tcg/tcg.c, rather
> than being a standalone C file.
>
> So far only "tcg/tcg.h" requires these headers.
>
> Remove the "target-tcg.h" header dependency on accelerators.
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> include/exec/cpu-defs.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/include/exec/cpu-defs.h b/include/exec/cpu-defs.h
> index d1f5e3fc3d8..ba3cd32a1ec 100644
> --- a/include/exec/cpu-defs.h
> +++ b/include/exec/cpu-defs.h
> @@ -25,9 +25,6 @@
>
> #include "qemu/host-utils.h"
> #include "qemu/thread.h"
> -#ifdef CONFIG_TCG
> -#include "tcg-target.h"
> -#endif
> #ifndef CONFIG_USER_ONLY
> #include "exec/hwaddr.h"
> #endif
>
next prev parent reply other threads:[~2021-02-04 18:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-04 18:03 [PATCH] exec/cpu-defs: Remove TCG backends dependency Philippe Mathieu-Daudé
2021-02-04 18:19 ` Paolo Bonzini [this message]
2021-02-04 18:41 ` Philippe Mathieu-Daudé
2021-02-04 18:47 ` Paolo Bonzini
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=0e3863f5-179c-7bb9-e5de-5a5a6d21c2c6@redhat.com \
--to=pbonzini@redhat.com \
--cc=cfontana@suse.de \
--cc=f4bug@amsat.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.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 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).