Anthony Liguori <address@hidden> writes:
The list would be used to exclude block formats and could be
extended to support read-only formats vs. read-write formats. For
instance, --enable-block-formats='qcow2 raw'. It avoids polluting the
block interface with knowledge of the distinction between a "utility"
program and qemu proper.
I agree it's better to keep it out of the BlockDriver interface.
Here's a patch for illustration. It's only lightly tested, lacks the
configure part, and I still need to check all users of bdrv_open2() are
happy. Are we on the same page?