qemu/docs
Paolo Bonzini d195325b05 qapi: fix error propagation
Don't overwrite / leak previously set errors.
Make traversal cope with missing mandatory sub-structs.
Don't try to end a container that could not be started.

v1->v2:
- unchanged

v2->v3:
- instead of examining, assert that we never overwrite errors with
  error_set()
- allow visitors to set a NULL struct pointer successfully, so traversal
  of incomplete objects can continue
- check for a NULL "obj" before accessing "(*obj)->has_XXX" (this is not a
  typo, "obj != NULL" implies "*obj != NULL" here)
- fix start_struct / end_struct balance for unions as well

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2012-07-23 11:55:17 +01:00
..
specs spapr: Add "memop" hypercall 2012-06-24 01:04:45 +02:00
blkverify.txt blkverify: Add block driver for verifying I/O 2010-09-21 17:00:53 +02:00
bootindex.txt Add boot index documentation. 2011-02-01 16:50:44 -06:00
ccid.txt Replace Qemu by QEMU in internal documentation 2012-04-07 13:58:25 +00: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 memory: minor documentation fixes/enhancements 2011-12-06 10:10:21 +00:00
migration.txt docs: document memory API interaction with migration 2011-12-07 18:57:41 +02:00
qapi-code-gen.txt qapi: fix error propagation 2012-07-23 11:55:17 +01: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
tracing.txt docs: correct ./configure line in tracing.txt 2012-03-12 10:12:34 +00:00
usb-storage.txt usb: add usb attached scsi emulation 2012-07-12 15:00:39 +02:00
usb2.txt xhci: add usage info to docs 2012-05-30 10:28:44 +08:00
writing-qmp-commands.txt Spelling fixes in comments and documentation 2012-01-13 10:36:59 +00:00
xen-save-devices-state.txt Introduce "xen-save-devices-state" 2012-03-19 18:21:00 +00:00