qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] hw/boards: make it safe to include for linux-us


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH] hw/boards: make it safe to include for linux-user
Date: Tue, 10 Mar 2015 18:34:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

Am 10.03.2015 um 18:33 schrieb Michael S. Tsirkin:
> Make it safe to include hw/boards.h in exec.c
> for linux-user configurations.
> We don't need any of its contents though.
> 
> Signed-off-by: Michael S. Tsirkin <address@hidden>
> ---
> 
> Already on my tree as Marcel's patches needed this.

Why? Which patches?

Andreas

> 
>  include/hw/boards.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/include/hw/boards.h b/include/hw/boards.h
> index 1f21bdf..0bf00f7 100644
> --- a/include/hw/boards.h
> +++ b/include/hw/boards.h
> @@ -3,6 +3,8 @@
>  #ifndef HW_BOARDS_H
>  #define HW_BOARDS_H
>  
> +#if !defined(CONFIG_USER_ONLY)
> +
>  #include "qemu/typedefs.h"
>  #include "sysemu/blockdev.h"
>  #include "sysemu/accel.h"
> @@ -154,3 +156,5 @@ struct MachineState {
>  };
>  
>  #endif
> +
> +#endif
> 


-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG Nürnberg)



reply via email to

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