qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] linux-user: display cpu list.


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [PATCH] linux-user: display cpu list.
Date: Thu, 22 Jul 2010 14:14:13 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, May 24, 2010 at 12:35:20AM +0200, Laurent Vivier wrote:
> From: Laurent Vivier <address@hidden>
> 
> As it is done for qemu-system with "-cpu ?", when cpu_list_id() is missing
> for a target, call cpu_list() instead.
> 
> Signed-off-by: Laurent Vivier <address@hidden>
> ---
>  linux-user/main.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Thanks, applied.

> diff --git a/linux-user/main.c b/linux-user/main.c
> index b240f29..f6fd6e3 100644
> --- a/linux-user/main.c
> +++ b/linux-user/main.c
> @@ -2797,6 +2797,8 @@ int main(int argc, char **argv, char **envp)
>  /* XXX: implement xxx_cpu_list for targets that still miss it */
>  #if defined(cpu_list_id)
>                  cpu_list_id(stdout, &fprintf, "");
> +#elif defined(cpu_list)
> +                cpu_list(stdout, &fprintf); /* deprecated */
>  #endif
>                  exit(1);
>              }
> -- 
> 1.7.0.4
> 
> 
> 

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
address@hidden                 http://www.aurel32.net



reply via email to

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