qemu-e2k/docs
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
..
specs acpi_piix4: Add infrastructure to send CPU hot-plug GPE to guest 2013-05-01 13:04:18 +02:00
atomics.txt add a header file for atomic operations 2013-07-04 17:42:49 +02:00
blkverify.txt
bootindex.txt Typo, spelling and grammatical fixes 2013-04-12 14:33:20 +02:00
ccid.txt Typo, spelling and grammatical fixes 2013-04-12 14:33:20 +02:00
ich9-ehci-uhci.cfg
libcacard.txt
live-block-ops.txt
memory.txt docs: mention AddressSpaces in docs/memory.txt 2013-05-12 13:25:55 +04:00
migration.txt docs: Fix typo and update file in migration 2013-06-01 14:25:38 +04:00
q35-chipset.cfg q35: document chipset devices 2013-01-11 08:30:24 +01:00
qapi-code-gen.txt qapi: Anonymous unions 2013-07-26 21:10:11 +02:00
qdev-device-use.txt
qemupciserial.inf
rdma.txt rdma: update documentation to reflect new unpin support 2013-07-23 11:11:59 +02:00
spice-port-fqdn.txt docs: add spice-port-fqdn.txt 2012-12-17 14:01:41 +01:00
tracing.txt build: do not use TARGET_ARCH 2013-06-14 15:33:10 +01:00
usb2.txt usb: update docs for bus name change 2013-04-03 11:39:43 +02:00
usb-storage.txt Fix typos and misspellings 2013-03-22 13:25:07 +01:00
virtio-balloon-stats.txt docs: document virtio-balloon stats 2013-01-25 10:49:46 -02:00
vnc-ledstate-Pseudo-encoding.txt doc: document the Pseudo-encoding of LED state 2013-04-29 08:28:51 -05:00
writing-qmp-commands.txt
xbzrle.txt
xen-save-devices-state.txt