History | View | Annotate | Download (3 kB)
qapi: Anonymous unions
The discriminator for anonymous unions is the data type. This allows tohave a union type that allows both of these:
{ 'file': 'my_existing_block_device_id' } { 'file': { 'filename': '/tmp/mydisk.qcow2', 'read-only': true } }...
qapi: Add visitor for implicit structs
These can be used when an embedded struct is parsed and members notbelonging to the struct may be present in the input (e.g. parsing aflat namespace QMP union, where fields from both the base and oneof the alternative types are mixed in the JSON object)...
qapi: move include files to include/qobject/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>