qemu-e2k/docs
Marc-André Lureau cb3e7f08ae qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF
Now that we can safely call QOBJECT() on QObject * as well as its
subtypes, we can have macros qobject_ref() / qobject_unref() that work
everywhere instead of having to use QINCREF() / QDECREF() for QObject
and qobject_incref() / qobject_decref() for its subtypes.

The replacement is mechanical, except I broke a long line, and added a
cast in monitor_qmp_cleanup_req_queue_locked().  Unlike
qobject_decref(), qobject_unref() doesn't accept void *.

Note that the new macros evaluate their argument exactly once, thus no
need to shout them.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180419150145.24795-4-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Rebased, semantic conflict resolved, commit message improved]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-05-04 08:27:53 +02:00
..
config
devel qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
interop vhost-user: back SET/GET_CONFIG requests with a protocol feature 2018-04-09 17:35:46 +03:00
specs spapr: Support ibm,dynamic-memory-v2 property 2018-04-27 18:05:23 +10:00
spin
amd-memory-encryption.txt target/i386: add Secure Encrypted Virtualization (SEV) object 2018-03-13 12:04:03 +01:00
block-replication.txt
bootindex.txt
can.txt
ccid.txt
COLO-FT.txt
colo-proxy.txt
generic-loader.txt
igd-assign.txt
image-fuzzer.txt
memory-hotplug.txt
multi-thread-compression.txt
multiseat.txt
nvdimm.txt
pci_expander_bridge.txt
pcie_pci_bridge.txt
pcie.txt docs: pcie: Spell out machine type needs for PCIe features 2018-03-01 16:25:37 +02:00
pr-manager.rst
pvrdma.txt
qcow2-cache.txt docs: document how to use the l2-cache-entry-size parameter 2018-03-02 18:39:07 +01:00
qdev-device-use.txt
qemu_logo.pdf
qemu-block-drivers.texi
qemupciserial.inf
rdma.txt
replay.txt replay: update documentation 2018-03-12 17:10:38 +01:00
spice-port-fqdn.txt
throttle.txt
usb2.txt
usb-storage.txt
virtio-balloon-stats.txt docs: document virtio-balloon stats 2018-03-01 16:25:37 +02:00
xbzrle.txt
xen-save-devices-state.txt Fix up dangling references to qmp-commands.* in comment and doc 2018-03-02 13:48:26 -06:00