qemu/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 blkverify: Add block driver for verifying I/O 2010-09-21 17:00:53 +02:00
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 usb: update documentation 2011-07-08 11:25:56 +02:00
libcacard.txt libcacard: Spelling and grammar fixes in documentation 2012-03-08 15:22:11 +00:00
live-block-ops.txt docs: describe live block operations 2012-01-26 14:49:18 +01:00
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 docs: Fix qdev-device-use.txt typo in -chardev serial, path=COM<NUM> 2011-09-09 09:43:17 +01:00
qemupciserial.inf serial: add windows inf file for the pci card to docs 2012-10-22 13:26:42 -05:00
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 docs: writing-qmp-commands.txt: update error section 2012-08-13 14:17:53 -03:00
xbzrle.txt Add XBZRLE documentation 2012-08-08 13:51:11 +02:00
xen-save-devices-state.txt Introduce "xen-save-devices-state" 2012-03-19 18:21:00 +00:00