Anthony Liguori writes:
> Markus Armbruster writes:
>
>> Anthony Liguori writes:
>>
>>> Paolo Bonzini writes:
>>>
>>> What about:
>>>
>>> [numa]
>>> node=1
>>> cpus=2
>>> cpus=3
>>>
>>> qemu -readconfig numa.cfg -numa node=1,cpus=1
>>
>> I figure
Anthony Liguori writes:
> Markus Armbruster writes:
>
>> Related: overwrite something you got from a config file on the command
>> line.
>>
>> In both your example and mine, we have entirely separate options, and
>> they have perfectly ordinary overwrite semantics: each option overwrites
>> the
Il 28/02/2013 14:41, Anthony Liguori ha scritto:
>
> This is certainly ambiguous. Does this mean that you have a single cpu
> for the node (VCPU 4) or does it mean the node have 4 cpus (presumably
> ranged 0-3).
>
> Given that ambiguity the following:
>
> qemu -numa node,nodeid=2,cpus=4,cpu
Il 28/02/2013 14:32, Anthony Liguori ha scritto:
>>> >> qemu -numa
>>> >> node=1,cpus=0,cpus=1,cpus=2,cpus=3,cpus=8,cpus=9,cpus=10,cpus=11
>> >
>> > Let me pick up the baby you just threw out with the bathwater for you:
>> >
>> > qemu -numa node,nodeid=1,cpus=0-3,cpus=8-11
> If you're okay with
Markus Armbruster writes:
> Anthony Liguori writes:
>
>> Paolo Bonzini writes:
>>
>> What about:
>>
>> [numa]
>> node=1
>> cpus=2
>> cpus=3
>>
>> qemu -readconfig numa.cfg -numa node=1,cpus=1
>
> I figure you mean
>
> [numa]
> nodeid=1
>
Markus Armbruster writes:
> Related: overwrite something you got from a config file on the command
> line.
>
> In both your example and mine, we have entirely separate options, and
> they have perfectly ordinary overwrite semantics: each option overwrites
> the given keys with the given values.
Anthony Liguori writes:
> Paolo Bonzini writes:
>
>> Il 27/02/2013 18:08, Anthony Liguori ha scritto:
>
> No, no, no. This makes ':' special, which means you can't have lists of
> anything containing ':'. Your cure is worse than the disease. Let go
> of that syntactic high
Anthony Liguori writes:
> Paolo Bonzini writes:
>
>> Il 27/02/2013 16:42, Anthony Liguori ha scritto:
>>> There's such thing as list support in QemuOpts. The only way
>>> QemuOptsVisitor was able to implement it was to expose QemuOpts publicly
>>> via options_int.h and rely on a implementation
Paolo Bonzini writes:
> Il 27/02/2013 17:19, Eduardo Habkost ha scritto:
>>> >
>>> > If it is meant as a prototype only, and the final command-line syntax
>>> > would be with repeated keys, that's okay. I think that Eduardo/Markus/I
>>> > are focusing on the user interface, you're focusing in t
Il 27/02/2013 18:38, Anthony Liguori ha scritto:
>> > The solution is "there is no way to override a previously specified
>> > key". Something like "-device
>> > virtio-scsi-pci,num_queues=1,num_queues=2" now works, let's make it an
>> > error instead.
> That breaks compatibility. The above may s
Paolo Bonzini writes:
> Il 27/02/2013 18:08, Anthony Liguori ha scritto:
>>> >
>>> > No, no, no. This makes ':' special, which means you can't have lists of
>>> > anything containing ':'. Your cure is worse than the disease. Let go
>>> > of that syntactic high-fructose corn syrup, stick to wha
On Wed, Feb 27, 2013 at 11:04:08AM -0600, Anthony Liguori wrote:
> Eduardo Habkost writes:
>
> > On Wed, Feb 27, 2013 at 04:57:15PM +0100, Paolo Bonzini wrote:
> >> Il 27/02/2013 16:42, Anthony Liguori ha scritto:
> >> > There's such thing as list support in QemuOpts. The only way
> >> > QemuOpt
Il 27/02/2013 18:08, Anthony Liguori ha scritto:
>> >
>> > No, no, no. This makes ':' special, which means you can't have lists of
>> > anything containing ':'. Your cure is worse than the disease. Let go
>> > of that syntactic high-fructose corn syrup, stick to what we have and
>> > works just
Markus Armbruster writes:
> Anthony Liguori writes:
>
>> Which is indistinguishable from a straight string property. This means
>> it's impossible to introspect because the type is context-sensitive.
>>
>> What's more, there is no API outside of QemuOptsVisitor that can
>> actually work with "l
Eduardo Habkost writes:
> On Wed, Feb 27, 2013 at 04:57:15PM +0100, Paolo Bonzini wrote:
>> Il 27/02/2013 16:42, Anthony Liguori ha scritto:
>> > There's such thing as list support in QemuOpts. The only way
>> > QemuOptsVisitor was able to implement it was to expose QemuOpts publicly
>> > via op
Paolo Bonzini writes:
> Il 27/02/2013 16:42, Anthony Liguori ha scritto:
>> There's such thing as list support in QemuOpts. The only way
>> QemuOptsVisitor was able to implement it was to expose QemuOpts publicly
>> via options_int.h and rely on a implementation detail.
>>
>> There are fixed ty
On Wed, Feb 27, 2013 at 05:58:39PM +0100, Paolo Bonzini wrote:
> Il 27/02/2013 17:19, Eduardo Habkost ha scritto:
> >> >
> >> > If it is meant as a prototype only, and the final command-line syntax
> >> > would be with repeated keys, that's okay. I think that Eduardo/Markus/I
> >> > are focusing
Il 27/02/2013 17:19, Eduardo Habkost ha scritto:
>> >
>> > If it is meant as a prototype only, and the final command-line syntax
>> > would be with repeated keys, that's okay. I think that Eduardo/Markus/I
>> > are focusing on the user interface, you're focusing in the implementation.
>> >
>> >
Anthony Liguori writes:
> Paolo Bonzini writes:
>
>> Il 26/02/2013 20:35, Anthony Liguori ha scritto:
> >>
> >> See also discussion on multi-valued keys in command line option
> >> arguments and config files in v1 thread. Hopefully we can reach a
> >> conclusion soon, and then
On Wed, Feb 27, 2013 at 04:57:15PM +0100, Paolo Bonzini wrote:
> Il 27/02/2013 16:42, Anthony Liguori ha scritto:
> > There's such thing as list support in QemuOpts. The only way
> > QemuOptsVisitor was able to implement it was to expose QemuOpts publicly
> > via options_int.h and rely on a implem
On Wed, Feb 27, 2013 at 09:42:50AM -0600, Anthony Liguori wrote:
> Paolo Bonzini writes:
>
> > Il 26/02/2013 20:35, Anthony Liguori ha scritto:
> >>
> >> See also discussion on multi-valued keys in command line option
> >> arguments and config files in v1 thread. Hopefully we can
Il 27/02/2013 16:42, Anthony Liguori ha scritto:
> There's such thing as list support in QemuOpts. The only way
> QemuOptsVisitor was able to implement it was to expose QemuOpts publicly
> via options_int.h and rely on a implementation detail.
>
> There are fixed types supported by QemuOpts. It
Paolo Bonzini writes:
> Il 26/02/2013 20:35, Anthony Liguori ha scritto:
>>
>> See also discussion on multi-valued keys in command line option
>> arguments and config files in v1 thread. Hopefully we can reach a
>> conclusion soon, and then we'll see whether this patch is wh
Paolo Bonzini writes:
> Il 26/02/2013 20:35, Anthony Liguori ha scritto:
>>
>> See also discussion on multi-valued keys in command line option
>> arguments and config files in v1 thread. Hopefully we can reach a
>> conclusion soon, and then we'll see whether this patch is wh
Il 26/02/2013 20:35, Anthony Liguori ha scritto:
>>> >>
>>> >> See also discussion on multi-valued keys in command line option
>>> >> arguments and config files in v1 thread. Hopefully we can reach a
>>> >> conclusion soon, and then we'll see whether this patch is what we want.
>> >
>> > Yeah, le
On Tue, Feb 26, 2013 at 01:35:14PM -0600, Anthony Liguori wrote:
> Eduardo Habkost writes:
>
> > On Tue, Feb 26, 2013 at 11:50:08AM +0100, Markus Armbruster wrote:
> >> Eduardo Habkost writes:
> >>
> >> > This allows ":" to be used a separator between each CPU range, so the
> >> > command-line
Eduardo Habkost writes:
> On Tue, Feb 26, 2013 at 11:50:08AM +0100, Markus Armbruster wrote:
>> Eduardo Habkost writes:
>>
>> > This allows ":" to be used a separator between each CPU range, so the
>> > command-line may look like:
>> >
>> > -numa node,cpus=A-B:C-D
>> >
>> > Note that the foll
On Tue, Feb 26, 2013 at 11:50:08AM +0100, Markus Armbruster wrote:
> Eduardo Habkost writes:
>
> > This allows ":" to be used a separator between each CPU range, so the
> > command-line may look like:
> >
> > -numa node,cpus=A-B:C-D
> >
> > Note that the following format, currently used by libv
Eduardo Habkost writes:
> This allows ":" to be used a separator between each CPU range, so the
> command-line may look like:
>
> -numa node,cpus=A-B:C-D
>
> Note that the following format, currently used by libvirt:
>
> -numa nodes,cpus=A-B,C-D
>
> will _not_ work, as "," is the option separ
This allows ":" to be used a separator between each CPU range, so the
command-line may look like:
-numa node,cpus=A-B:C-D
Note that the following format, currently used by libvirt:
-numa nodes,cpus=A-B,C-D
will _not_ work, as "," is the option separator for the command-line
option parser, a
30 matches
Mail list logo