• E
    qapi: Use anonymous bases in QMP flat unions · 3666a97f
    Eric Blake 提交于
    Now that the generator supports it, we might as well use an
    anonymous base rather than breaking out a single-use Base
    structure, for all three of our current QMP flat unions.
    
    Oddly enough, this change does not affect the resulting
    introspection output (because we already inline the members of
    a base type into an object, and had no independent use of the
    base type reachable from a command).
    
    The case_whitelist now has to list the name of an implicit
    type; which is not too bad (consider it a feature if it makes
    it harder for developers to make the whitelist grow :)
    Signed-off-by: NEric Blake <eblake@redhat.com>
    Message-Id: <1458254921-17042-16-git-send-email-eblake@redhat.com>
    Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
    3666a97f
block-core.json 82.1 KB