From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Crosthwaite <crosthwaitepeter@gmail.com>, qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Peter Crosthwaite <crosthwaite.peter@gmail.com>
Subject: Re: [Qemu-devel] [PATCH v2] memory_mapping: Rework cpu related includes
Date: Mon, 08 Jun 2015 12:47:49 +0200 [thread overview]
Message-ID: <557572D5.3050103@redhat.com> (raw)
In-Reply-To: <1433714349-7262-1-git-send-email-crosthwaite.peter@gmail.com>
On 07/06/2015 23:59, Peter Crosthwaite wrote:
> This makes it more consistent with all other core code files, which
> either just rely on qemu-common.h inclusion or precede cpu.h with
> qemu-common.h.
>
> cpu-all.h should not be included in addition to cpu.h. Remove it.
>
> Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
> ---
> changed since v1:
> Leave in cpu.h include
>
> Picked up by my multi arch WIP where target-multi/cpu.h cant handle
> random core code inclusion without preceeded qemu-common.h. I guess
> this is the only one in tree?
> ---
> memory_mapping.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/memory_mapping.c b/memory_mapping.c
> index 7b69801..36d6b26 100644
> --- a/memory_mapping.c
> +++ b/memory_mapping.c
> @@ -13,8 +13,8 @@
>
> #include <glib.h>
>
> +#include "qemu-common.h"
> #include "cpu.h"
> -#include "exec/cpu-all.h"
> #include "sysemu/memory_mapping.h"
> #include "exec/memory.h"
> #include "exec/address-spaces.h"
>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
About to leave on vacation, so someone else will have to pick it up.
Paolo
next prev parent reply other threads:[~2015-06-08 10:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-07 21:59 [Qemu-devel] [PATCH v2] memory_mapping: Rework cpu related includes Peter Crosthwaite
2015-06-08 10:47 ` Paolo Bonzini [this message]
2015-06-09 7:42 ` Peter Crosthwaite
2015-06-17 8:57 ` Paolo Bonzini
2015-06-24 4:33 ` Peter Crosthwaite
2015-06-24 8:54 ` 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=557572D5.3050103@redhat.com \
--to=pbonzini@redhat.com \
--cc=crosthwaite.peter@gmail.com \
--cc=crosthwaitepeter@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@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 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).