Kevin Wolf 50f2bdc75c qapi: Flat unions with arbitrary discriminator
Instead of the rather verbose syntax that distinguishes base and
subclass fields...

  { "type": "file",
    "read-only": true,
    "data": {
        "filename": "test"
    } }

...we can now have both in the same namespace, allowing a more direct
mapping of the command line, and moving fields between the common base
and subclasses without breaking the API:

  { "driver": "file",
    "read-only": true,
    "filename": "test" }

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2013-07-26 21:09:37 +02:00
..
2013-04-12 14:33:20 +02:00
2011-07-08 11:25:56 +02:00
2013-01-11 08:30:24 +01:00
2013-06-14 15:33:10 +01:00
2013-04-03 11:39:43 +02:00
2013-03-22 13:25:07 +01:00
2012-08-08 13:51:11 +02:00