Re: [Qemu-devel] Converting existing name=value,... arguments to QMP

2010-02-04 Thread Daniel P. Berrange
On Thu, Feb 04, 2010 at 06:43:22PM +0100, Markus Armbruster wrote: > The human monitor uses positional arguments. This is fine; nobody wants > to type "info item=network" instead of "info network". > > QMP uses named arguments. Also fine. > > Internally, we use named arguments: we pass them as

[Qemu-devel] Converting existing name=value,... arguments to QMP

2010-02-04 Thread Markus Armbruster
The human monitor uses positional arguments. This is fine; nobody wants to type "info item=network" instead of "info network". QMP uses named arguments. Also fine. Internally, we use named arguments: we pass them as QDict to the command handler. This involves associating positional arguments w