On Thu, Oct 21, 2021 at 12:01:32PM +0200, Stefan Reiter wrote: > Adds support for the "-xV" parameter type, where "-x" denotes a flag > name and the "V" suffix indicates that this flag is supposed to take an > arbitrary string parameter. > > These parameters are always optional, the entry in the qdict will be > omitted if the flag is not given. > > Signed-off-by: Stefan Reiter <s.rei...@proxmox.com> > ---
[so my late v6 reply doesn't get lost...] > +++ b/monitor/monitor-internal.h > @@ -63,7 +63,8 @@ > * '.' other form of optional type (for 'i' and 'l') > * 'b' boolean > * user mode accepts "on" or "off" > - * '-' optional parameter (eg. '-f') > + * '-' optional parameter (eg. '-f'); if followed by an 'V', it s/an/a/ Reviewed-by: Eric Blake <ebl...@redhat.com> > + * specifies an optional string param (e.g. '-fV' allows '-f > foo') > * > */ > > -- > 2.30.2 > > -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org