qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC v2 16/34] HACK: Disable list_cpus


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC v2 16/34] HACK: Disable list_cpus
Date: Mon, 01 Jun 2015 10:04:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0


On 31/05/2015 08:11, Peter Crosthwaite wrote:
> Not dealing with this issue as of this RFC. Comments welcome on how to
> handle it. It is probably a case that any form of CPU selection is ill
> defined in multi-arch. So just a case of #ifndef TARGET_MULTI or
> something like that?

That, or handle it like tcg_exec_init?

Paolo

> Signed-off-by: Peter Crosthwaite <address@hidden>
> ---
>  cpus.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/cpus.c b/cpus.c
> index 2dc4a9a..441a026 100644
> --- a/cpus.c
> +++ b/cpus.c
> @@ -1446,9 +1446,11 @@ void cpu_loop_exit(CPUState *cpu)
>  void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg)
>  {
>      /* XXX: implement xxx_cpu_list for targets that still miss it */
> +#if 0
>  #if defined(cpu_list)
>      cpu_list(f, cpu_fprintf);
>  #endif
> +#endif
>  }
>  
>  CpuInfoList *qmp_query_cpus(Error **errp)
> 



reply via email to

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