qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 05/20] arm: Move CPU files to target/ folder


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 05/20] arm: Move CPU files to target/ folder
Date: Tue, 13 Dec 2016 18:19:22 +0000

On 9 December 2016 at 12:17, Thomas Huth <address@hidden> wrote:
> diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c
> index d4160df..60770d4 100644
> --- a/hw/arm/virt-acpi-build.c
> +++ b/hw/arm/virt-acpi-build.c
> @@ -33,7 +33,7 @@
>  #include "qemu/bitmap.h"
>  #include "trace.h"
>  #include "qom/cpu.h"
> -#include "target-arm/cpu.h"
> +#include "cpu.h"
>  #include "hw/acpi/acpi-defs.h"
>  #include "hw/acpi/acpi.h"
>  #include "hw/nvram/fw_cfg.h"

Something looks wrong here. We definitely want the ARM
version of cpu.h, not any random cpu.h. The #include
filename should make it clear which file we're getting,
both so it's easier for humans to understand and so that
one day we might be able to build more than one target
CPU into the same QEMU binary.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]