qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 4/7] give noaccel a name


From: Avi Kivity
Subject: [Qemu-devel] Re: [PATCH 4/7] give noaccel a name
Date: Tue, 14 Oct 2008 18:00:36 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

Glauber Costa wrote:
> otherwise, string comparisons to check for the current accelerator
> may break.
>
> Signed-off-by: Glauber Costa <address@hidden>
> ---
>  accel.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/accel.c b/accel.c
> index f9618b2..bf3cb73 100644
> --- a/accel.c
> +++ b/accel.c
> @@ -21,7 +21,7 @@ CPUState *noaccel_get_env(void)
>  
>  /* Accelerator wrapper for the no-accel (raw qemu) case */
>  QEMUAccel noaccel = {
> -    .name = NULL,
> +    .name = "noaccel",
>      .cpu_interrupt = accel_nop,
>      .init_env = accel_nop,
>      .get_env = noaccel_get_env,
>   

Maybe "none" or "tcg" or "emulation"?

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.





reply via email to

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