qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Glauber Costa" <glommer@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH/RFC] provide --accel option
Date: Fri, 12 Sep 2008 16:14:17 -0300	[thread overview]
Message-ID: <5d6222a80809121214w40153f5byf06884a2ae27c4d8@mail.gmail.com> (raw)
In-Reply-To: <f43fc5580809121207u6a0b1008k178c7e42ff9f972@mail.gmail.com>

On Fri, Sep 12, 2008 at 4:07 PM, Blue Swirl <blauwirbel@gmail.com> wrote:
> On 9/12/08, Glauber Costa <glommer@redhat.com> 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)?
agreed.

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



-- 
Glauber Costa.
"Free as in Freedom"
http://glommer.net

"The less confident you are, the more serious you have to act."

      reply	other threads:[~2008-09-12 19:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12 18:47 [Qemu-devel] [PATCH/RFC] provide --accel option Glauber Costa
2008-09-12 19:07 ` Blue Swirl
2008-09-12 19:14   ` Glauber Costa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5d6222a80809121214w40153f5byf06884a2ae27c4d8@mail.gmail.com \
    --to=glommer@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).