
On 07/15/2016 07:49 AM, Daniel P. Berrange wrote:
On Fri, Jul 15, 2016 at 03:46:33PM +0200, Peter Krempa wrote:
Libvirt didn't handle this for a long time and VMs with such config would not start we should implement it.
Using JSON is basically the only option to specify advanced configuration for a backing file.
Field names were taken from qemu's source since there isn't really documentation for this.
Actually, this syntax is formally specified via QEMU QAPI schema language. In particular for block device options see $QEMU/qapi/block-core.json
Except that it is incomplete; as long as BlockdevOptions doesn't cover every driver, such as NBD, gluster, and sheepdog, there are still some und(er)ocumented aspects. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org