Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option

2013-02-26 Thread Paolo Bonzini
Il 26/02/2013 15:04, Eduardo Habkost ha scritto: >> > For me, the INI way to do multi-valued keys is still fine. > Having multiple-valued keys (cpus=A,cpus=B,cpus=C) seems like the best > intermediate solution while we don't have a decent generic syntax. Even more so since: 1) we already support

Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option

2013-02-26 Thread Eduardo Habkost
On Tue, Feb 26, 2013 at 10:53:07AM +0100, Markus Armbruster wrote: > Eduardo Habkost writes: > > > On Thu, Feb 21, 2013 at 09:23:22PM +0100, Markus Armbruster wrote: > >> Eduardo Habkost writes: > >> > >> > This allows "," to be used a separator between each CPU range. Note > >> > that commas

Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option

2013-02-26 Thread Eduardo Habkost
On Mon, Feb 25, 2013 at 10:04:07PM +0100, Andreas Färber wrote: > Am 21.02.2013 21:57, schrieb Eduardo Habkost: > > On Thu, Feb 21, 2013 at 09:23:22PM +0100, Markus Armbruster wrote: > >> Eduardo Habkost writes: > >> > >>> This allows "," to be used a separator between each CPU range. Note > >>>

Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option

2013-02-26 Thread Markus Armbruster
Eduardo Habkost writes: > On Thu, Feb 21, 2013 at 09:23:22PM +0100, Markus Armbruster wrote: >> Eduardo Habkost 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

Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option

2013-02-25 Thread Andreas Färber
Am 21.02.2013 21:57, schrieb Eduardo Habkost: > On Thu, Feb 21, 2013 at 09:23:22PM +0100, Markus Armbruster wrote: >> Eduardo Habkost 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 >>> usi

Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option

2013-02-25 Thread Eduardo Habkost
On Fri, Feb 22, 2013 at 11:04:24AM +0100, Markus Armbruster wrote: > Markus Armbruster writes: > > > Anthony Liguori writes: > > > >> Markus Armbruster writes: > >> > >>> Eduardo Habkost writes: > >>> > This allows "," to be used a separator between each CPU range. Note > that comma

Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option

2013-02-22 Thread Markus Armbruster
Markus Armbruster writes: > Anthony Liguori writes: > >> Markus Armbruster writes: >> >>> Eduardo Habkost 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 comm

Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option

2013-02-21 Thread Eduardo Habkost
On Thu, Feb 21, 2013 at 09:23:22PM +0100, Markus Armbruster wrote: > Eduardo Habkost 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: > >

Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option

2013-02-21 Thread Markus Armbruster
Anthony Liguori writes: > Markus Armbruster writes: > >> Eduardo Habkost 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: >>> >>> -nu

Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option

2013-02-21 Thread Anthony Liguori
Markus Armbruster writes: > Eduardo Habkost 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

Re: [Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option

2013-02-21 Thread Markus Armbruster
Eduardo Habkost 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 embarrassme

[Qemu-devel] [PATCH] vl.c: Support multiple CPU ranges on -numa option

2013-02-21 Thread Eduardo Habkost
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 Note that the following format, currently used by libvirt: -numa nodes,cpus=A,B