[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa opti
From: |
Anthony Liguori |
Subject: |
Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option |
Date: |
Thu, 21 Feb 2013 14:39:03 -0600 |
User-agent: |
Notmuch/0.13.2+93~ged93d79 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) |
Markus Armbruster <address@hidden> writes:
> Eduardo Habkost <address@hidden> writes:
>
>> This allows "," to be used a separator between each CPU range. Note
>> that commas inside key=value command-line options have to be escaped
>> using ",,", so the command-line will look like:
>>
>> -numa node,cpus=A,,B,,C,,D
>
> This is really, really ugly, and an embarrassment to document. Which
> you didn't ;)
>
> What about
>
> -numa node,cpus=A,cpus=B,cpus=C,cpus=D
>
> Yes, QemuOpts lets you do that. Getting all the values isn't as easy as
> it could be (unless you use Laszlo's opt-visitor), but that could be
> improved.
No more of this.
-numa node,cpus=A:B:C:D
if you want to express a list.
Regards,
Anthony Liguori
>
>> Note that the following format, currently used by libvirt:
>>
>> -numa nodes,cpus=A,B,C,D
>>
>> will _not_ work yet, as "," is the option separator for the command-line
>> option parser, and it will require changing the -numa option parsing
>> code to handle "cpus" as a special case.
>
> No way.
- [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option, Eduardo Habkost, 2013/02/21
- Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option, Eduardo Habkost, 2013/02/21
- Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option, Markus Armbruster, 2013/02/26
- Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option, Eduardo Habkost, 2013/02/26
- Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option, Paolo Bonzini, 2013/02/26