On Wed 10 Feb 2021 05:52:47 PM CET, Kevin Wolf wrote: >> + /* The 'file' option only allows strings */ >> + assert(qobject_type(value) == QTYPE_QSTRING); > > This is true, but not entirely obvious: The QAPI schema has > BlockdevRef, which can be either a string or a dict. However, we're > dealing with a flattened options dict here, so no more nested dicts.
You're right, I'll update the comment. Berto