[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 01/19] exec, dump, i386, ppc, s390x: don't in
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH v2 01/19] exec, dump, i386, ppc, s390x: don't include exec/cpu-all.h explicitly |
Date: |
Thu, 7 Sep 2017 07:46:39 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 04.09.2017 17:42, David Hildenbrand wrote:
> All but a handfull of filles include exec/cpu-all.h via cpu.h only.
> As these files already include cpu.h, let's just drop the additional
> include.
>
> Signed-off-by: David Hildenbrand <address@hidden>
> ---
> dump.c | 1 -
> exec.c | 2 --
> target/i386/arch_dump.c | 1 -
> target/i386/arch_memory_mapping.c | 1 -
> target/i386/svm_helper.c | 1 -
> target/ppc/arch_dump.c | 1 -
> target/s390x/arch_dump.c | 1 -
> 7 files changed, 8 deletions(-)
>
> diff --git a/dump.c b/dump.c
> index a79773d0f7..2ef6a678e8 100644
> --- a/dump.c
> +++ b/dump.c
> @@ -15,7 +15,6 @@
> #include "qemu/cutils.h"
> #include "elf.h"
> #include "cpu.h"
> -#include "exec/cpu-all.h"
> #include "exec/hwaddr.h"
> #include "monitor/monitor.h"
> #include "sysemu/kvm.h"
> diff --git a/exec.c b/exec.c
> index d20c34ca83..d109de2014 100644
> --- a/exec.c
> +++ b/exec.c
> @@ -23,7 +23,6 @@
>
> #include "qemu/cutils.h"
> #include "cpu.h"
> -#include "exec/exec-all.h"
You should maybe mention exec-all.h in the patch description, too.
(I think it can be dropped here because it is included by
translate-all.h already).
If you tweak the patch description:
Reviewed-by: Thomas Huth <address@hidden>
- [Qemu-devel] [PATCH v2 00/19] s390x cleanups and CPU hotplug via device_add, David Hildenbrand, 2017/09/04
- [Qemu-devel] [PATCH v2 01/19] exec, dump, i386, ppc, s390x: don't include exec/cpu-all.h explicitly, David Hildenbrand, 2017/09/04
- Re: [Qemu-devel] [PATCH v2 01/19] exec, dump, i386, ppc, s390x: don't include exec/cpu-all.h explicitly, Cornelia Huck, 2017/09/05
- Re: [Qemu-devel] [PATCH v2 01/19] exec, dump, i386, ppc, s390x: don't include exec/cpu-all.h explicitly,
Thomas Huth <=
- Re: [Qemu-devel] [PATCH v2 01/19] exec, dump, i386, ppc, s390x: don't include exec/cpu-all.h explicitly, David Hildenbrand, 2017/09/07
- Re: [Qemu-devel] [PATCH v2 01/19] exec, dump, i386, ppc, s390x: don't include exec/cpu-all.h explicitly, Cornelia Huck, 2017/09/07
- [Qemu-devel] [PATCH v2 02/19] cpu: drop old comments describing members, David Hildenbrand, 2017/09/04
- [Qemu-devel] [PATCH v2 04/19] s390x: rename s390-virtio.h to s390-virtio-hcall.h, David Hildenbrand, 2017/09/04
- [Qemu-devel] [PATCH v2 03/19] s390x: get rid of s390-virtio.c, David Hildenbrand, 2017/09/04
- [Qemu-devel] [PATCH v2 05/19] target/s390x: move typedef of S390CPU to its definition, David Hildenbrand, 2017/09/04
- [Qemu-devel] [PATCH v2 06/19] s390x: move s390_virtio_hypercall() to s390-virtio-hcall.h, David Hildenbrand, 2017/09/04