qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH/RFC] provide --accel option


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH/RFC] provide --accel option
Date: Fri, 12 Sep 2008 22:07:07 +0300

On 9/12/08, Glauber Costa <address@hidden> wrote:
> The --accel option will provide us the ability of defining which
>  accelerator to pick at run time. It has the advantage of not using
>  the not-well-accepted constructor directives, and also, of stabilishing
>  a way to define priorities among accelerators.
>
>  The ones registered first, are tried first.

>  +            case QEMU_OPTION_accel:
>  +                {
>  +                    int i;
>  +                    for (i = 0; i < sizeof(available_accels)/sizeof(void 
> *); i++) {

ARRAY_SIZE(available_accels)?

>  +                        if (!strcasecmp(optarg, available_accels[i]->name))
>  +                            register_qemu_accel(available_accels[i]);
>  +                    }
>  +                }
>  +                break;




reply via email to

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