Hi, > > Well, we need two options then, and have one inconsistent variant. > > Can't we just get along with connect-ports alone, by using the empty > > string for "do not auto connect" ? > > Historically we've been unable to distinguish between the <unset> and > <set-to-empty-string> scenarios when parsing CLI args. Maybe that > isn't a problem for -audiodev since we're not using QemuOpts for > parsing ?
all qapi opts (including -audiodev) can deal with that just fine as there is a has_$option bool all optional arguments. take care, Gerd