qemu/scripts
Kevin Wolf 69dd62dfd6 qapi: Anonymous unions
The discriminator for anonymous unions is the data type. This allows to
have a union type that allows both of these:

    { 'file': 'my_existing_block_device_id' }
    { 'file': { 'filename': '/tmp/mydisk.qcow2', 'read-only': true } }

Unions like this are specified in the schema with an empty dict as
discriminator. For this example you could take:

    { 'union': 'BlockRef',
      'discriminator': {},
      'data': { 'definition': 'BlockOptions',
                'reference': 'str' } }
    { 'type': 'ExampleObject',
      'data: { 'file': 'BlockRef' } }

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2013-07-26 21:10:11 +02:00
..
kvm vmxcap: Update according to SDM of January 2013 2013-04-17 23:27:24 -03:00
qemu-guest-agent qemu-ga: sample fsfreeze hooks 2013-01-08 16:38:12 -06:00
tracetool trace: Add ftrace tracing backend 2013-05-03 13:58:09 +02:00
analyse-9p-simpletrace.py
check-qerror.sh
checkpatch.pl CHECKPATCH: Add warning for single else statement. 2012-09-05 19:17:49 +00:00
cleanup-trace-events.pl cleanup-trace-events.pl: New 2013-07-18 11:44:42 +08:00
create_config main: use TARGET_ARCH only for the target-specific #define 2013-06-14 15:33:11 +01:00
feature_to_c.sh exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
get_maintainer.pl get_maintainer.pl: update from linix 3.8 2012-12-12 23:41:03 +02:00
gtester-cat
hxtool
make_device_config.sh make_device_config.sh: Emit dependency file to directory where included 2013-03-09 12:00:03 +00:00
make-release build: add make dist target (v2) 2012-07-17 15:43:16 -05:00
ordereddict.py
qapi-commands.py qapi: qapi-commands: fix possible leaks on visitor dealloc 2013-07-16 09:15:06 -04:00
qapi-types.py qapi: Anonymous unions 2013-07-26 21:10:11 +02:00
qapi-visit.py qapi: Anonymous unions 2013-07-26 21:10:11 +02:00
qapi.py qapi: Anonymous unions 2013-07-26 21:10:11 +02:00
qemu-binfmt-conf.sh scripts/qemu-binfmt-conf.sh: Fix shell syntax 2012-05-08 11:15:18 -05:00
qemu-gdb.py
qtest
refresh-pxe-roms.sh
signrom.py
simpletrace.py trace: Fix "Qemu" -> "QEMU" 2012-08-15 15:18:54 +01:00
texi2pod.pl
tracetool.py build: do not use TARGET_ARCH 2013-06-14 15:33:10 +01:00
update-linux-headers.sh powerpc: linux header sync script includes epapr_hcalls.h 2013-01-07 17:37:09 +01:00