[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 01/11] exec, dump: don't include exec/exec-al
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH v1 01/11] exec, dump: don't include exec/exec-all.h explicitly |
Date: |
Wed, 30 Aug 2017 20:55:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 30.08.2017 19:05, David Hildenbrand wrote:
> All but two, namely exec.c and dump.c, include exec/exec-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 | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/dump.c b/dump.c
> index d9090a24cc..c00094475c 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"
That's cpu-all.h, not exec-all.h ...
> #include "exec/hwaddr.h"
> #include "monitor/monitor.h"
> #include "sysemu/kvm.h"
> diff --git a/exec.c b/exec.c
> index d20c34ca83..8d8b6a0769 100644
> --- a/exec.c
> +++ b/exec.c
> @@ -23,7 +23,6 @@
>
> #include "qemu/cutils.h"
> #include "cpu.h"
> -#include "exec/exec-all.h"
> #include "exec/target_page.h"
> #include "tcg.h"
> #include "hw/qdev-core.h"
... and if I do a grep for exec-all.h in the cpu.h files, I hardly get
any matches. => Your patch description sounds wrong ... I guess you only
wanted to handle cpu-all.h here?
Thomas