Daniel P. Berrangé <[email protected]> writes:

> On Wed, Jul 01, 2026 at 03:19:53PM +0200, Markus Armbruster wrote:

[...]

>> Could we use id_generate()?
>
> Since we want to re-use the QemuOpts ID present in -monitor/-qmp,
> I'm going to stick with "compat_monitorNNN" and get rid of
> use of 'hmpcompatNN' and 'qmpcompatNN'.  id_generate() does not
> help here because it forces a "#" prefix onto the ID which then
> (intentionally) violates  id_wellformed() which object_new_xxx()
> validates.

A clean split between IDs provided by the user (must be id_wellformed())
and IDs conjured up by the system (must come from id_generate()) would
be nice.  But getting there would take some yak shaving.  I'm not asking
you to try.  I'm okay with the solution in your v6.

Reply via email to