qemu/include
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
..
block block: add bdrv_write_zeroes() 2013-07-19 12:29:21 +08:00
disas Add moxie disassembler 2013-03-23 14:25:41 +00:00
exec Merge remote-tracking branch 'riku/linux-user-for-upstream' into staging 2013-07-25 15:56:06 -05:00
fpu
hw isa_mmio: delete 2013-07-25 08:12:27 -05:00
migration rdma: account for the time spent in MIG_STATE_SETUP through QMP 2013-07-23 13:06:37 +02:00
monitor net: add support of mac-programming over macvtap in QEMU side 2013-07-15 21:23:08 +03:00
net net: add support of mac-programming over macvtap in QEMU side 2013-07-15 21:23:08 +03:00
qapi qapi: Anonymous unions 2013-07-26 21:10:11 +02:00
qemu bitops: Provide sextract32() and sextract64() 2013-07-22 15:41:11 -05:00
qom cpu: Move gdb_regs field from CPU_COMMON to CPUState 2013-07-23 02:41:33 +02:00
sysemu kvm: Change kvm_{insert,remove}_breakpoint() argument to CPUState 2013-07-23 02:41:32 +02:00
ui vnc: use booleans for vnc_connect, vnc_listen_read and vnc_display_add_client 2013-06-21 22:52:50 +04:00
config.h
elf.h include/elf.h: add aarch64 ELF machine and relocs 2013-06-12 16:20:22 +01:00
glib-compat.h glib: add a compatibility interface for g_timeout_add_seconds 2013-03-25 13:10:40 -05:00
qemu-common.h Introduce async_run_on_cpu() 2013-07-12 19:36:01 +02:00
qemu-io.h qemu-io: Interface cleanup 2013-06-06 11:27:05 +02:00
trace.h