qemu-e2k/docs
Markus Armbruster 1d8bda128d qapi: The #optional tag is redundant, drop
We traditionally mark optional members #optional in the doc comment.
Before commit 3313b61, this was entirely manual.

Commit 3313b61 added some automation because its qapi2texi.py relied
on #optional to determine whether a member is optional.  This is no
longer the case since the previous commit: the only thing qapi2texi.py
still does with #optional is stripping it out.  We still reject bogus
qapi-schema.json and six places for qga/qapi-schema.json.

Thus, you can't actually rely on #optional to see whether something is
optional.  Yet we still make people add it manually.  That's just
busy-work.

Drop the code to check, fix up and strip out #optional, along with all
instances of #optional.  To keep it out, add code to reject it, to be
dropped again once the dust settles.

No change to generated documentation.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1489582656-31133-18-git-send-email-armbru@redhat.com>
2017-03-16 07:13:02 +01:00
..
specs docs: VM Generation ID device description 2017-03-02 07:14:26 +02:00
aio_notify_accept.promela
aio_notify_bug.promela
aio_notify.promela
atomics.txt
bitmaps.md
blkdebug.txt
blkverify.txt
block-replication.txt
bootindex.txt docs: Add a note about mixing bootindex with "-boot order" 2017-03-14 13:26:36 +01:00
build-system.txt
ccid.txt
COLO-FT.txt docs: fix COLO architecture diagram 2016-11-15 15:36:21 +08:00
colo-proxy.txt docs: Fix description of the sentence 2017-01-20 10:36:38 +08:00
generic-loader.txt
ich9-ehci-uhci.cfg
igd-assign.txt
image-fuzzer.txt
live-block-ops.txt
lockcnt.txt qemu-thread: optimize QemuLockCnt with futexes on Linux 2017-01-16 13:25:18 +00:00
mach-virt-graphical.cfg mach-virt: Provide sample configuration files 2017-03-01 14:40:40 +01:00
mach-virt-serial.cfg mach-virt: Provide sample configuration files 2017-03-01 14:40:40 +01:00
memory-hotplug.txt
memory.txt
migration.txt postcopy: Add doc about hugepages and postcopy 2017-02-28 11:30:24 +00:00
multi-thread-compression.txt
multi-thread-tcg.txt docs: new design document multi-thread-tcg.txt 2017-02-24 10:32:45 +00:00
multiple-iothreads.txt aio: document locking 2017-01-16 13:25:18 +00:00
multiseat.txt
nvdimm.txt docs: add document to explain the usage of vNVDIMM 2017-02-17 21:52:30 +02:00
pci_expander_bridge.txt
pcie.txt doc/pcie: correct command line examples 2017-01-10 07:02:52 +02:00
q35-emulated.cfg q35: Improve sample configuration files 2017-03-01 14:40:40 +01:00
q35-virtio-graphical.cfg q35: Improve sample configuration files 2017-03-01 14:40:40 +01:00
q35-virtio-serial.cfg q35: Improve sample configuration files 2017-03-01 14:40:40 +01:00
qapi-code-gen.txt qapi: The #optional tag is redundant, drop 2017-03-16 07:13:02 +01:00
qcow2-cache.txt docs: Specify that cache-clean-interval is only supported in Linux 2016-11-25 13:51:31 +01:00
qdev-device-use.txt Add wctablet device 2017-02-20 11:26:28 +01:00
qemu_logo.pdf docs: add qemu logo to pdf 2017-01-16 10:11:43 +01:00
qemu-ga-ref.texi Makefile: Put VERSION info into version.texi rather than using -D 2017-02-20 14:11:07 +01:00
qemu-qmp-ref.texi qapi: Clean up build of generated documentation 2017-03-16 07:13:02 +01:00
qemupciserial.inf
qmp-intro.txt build-sys: add qapi doc generation targets 2017-01-16 10:11:43 +01:00
qmp-spec.txt
rcu.txt docs/rcu.txt: Fix minor typo 2016-11-02 09:28:57 +01:00
rdma.txt
replay.txt replay: add record/replay for audio passthrough 2017-03-01 15:11:44 +01:00
spice-port-fqdn.txt
tcg-exclusive.promela
throttle.txt
tracing.txt trace: update docs to reflect new code generation approach 2017-01-31 17:11:18 +00:00
usb2.txt doc/usb2: fix typo 2017-01-24 23:26:53 +03:00
usb-storage.txt usb: Fix typo in documentation 2017-01-24 23:26:52 +03:00
virtio-balloon-stats.txt
virtio-migration.txt
vnc-ledstate-Pseudo-encoding.txt
win32-qemu-event.promela
writing-qmp-commands.txt qapi: The #optional tag is redundant, drop 2017-03-16 07:13:02 +01:00
xbzrle.txt
xen-save-devices-state.txt