Re: [Qemu-devel] [PATCH 04/18] qapi-visit.py: Implement 'base' for unions

2013-07-25 Thread Eric Blake
On 07/23/2013 07:03 AM, Kevin Wolf wrote: > This implements the visitor part of base types for unions. Parsed into > QMP, this example schema definiton... s/definiton/definition/ > > { 'type': 'BlockOptionsBase', 'data': { 'read-only': 'bool' } } > { 'type': 'BlockOptionsQcow2, 'data': {

[Qemu-devel] [PATCH 04/18] qapi-visit.py: Implement 'base' for unions

2013-07-23 Thread Kevin Wolf
This implements the visitor part of base types for unions. Parsed into QMP, this example schema definiton... { 'type': 'BlockOptionsBase', 'data': { 'read-only': 'bool' } } { 'type': 'BlockOptionsQcow2, 'data': { 'lazy-refcounts': 'bool' } } { 'union': 'BlockOptions', 'base': 'B