Am 04.10.2016 um 12:12 hat Paolo Bonzini geschrieben: > > > On 04/10/2016 11:24, Kevin Wolf wrote: > > You also need to update the options for the blockdev-add QMP command in > > qapi/block-core.json. The relevant type is BlockdevOptionsFile. > > Is it? Or should he define a new BlockdevOptionsRaw, and point to it in > the BlockdevOptions union instead of "'raw': > 'BlockdevOptionsGenericFormat'"?
It would be the right type for the raw-posix patch as it exists today. But you're right that for adding the option to the raw format driver, as we requested, a new BlockdevOptionsRaw (which inherits from BlockdevOptionsGenericFormat) is needed. Kevin