qemu/docs
Ján Tomko 38dbd48b24 virtio-balloon: return empty data when no stats are available
If the guest hasn't updated the stats yet, instead of returning
an error, return '-1' for the stats and '0' as 'last-update'.

This lets applications ignore this without parsing the error message.

Related libvirt patch and discussion:
https://www.redhat.com/archives/libvir-list/2014-May/msg00460.html

Tested against current upstream libvirt - stat reporting works and
it no longer logs errors when the stats are queried on domain startup.
(Note: libvirt doesn't use the last-update field for anything yet)

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2014-05-25 12:46:58 +03:00
..
qmp qmp: Make Quorum error events more palatable. 2014-02-28 18:59:06 +01:00
specs vga: add secondary stdvga variant 2014-04-28 11:03:32 +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 docs/ccid.txt: fix the typo 2013-10-26 13:04:12 +04: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/memory.txt: Fix document on MMIO operations 2014-05-07 21:00:44 +04:00
migration.txt savevm: Remove all the unneeded version_minimum_id_old (rest) 2014-05-14 15:24:51 +02:00
q35-chipset.cfg q35: Add PCIe switch to example q35 configuration 2013-08-21 12:39:15 +03:00
qapi-code-gen.txt qapi: skip redundant includes 2014-05-16 10:35:59 -04: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 Docs: Introduce multiport serial support in qemupciserial.inf. 2014-03-12 10:33:23 +01:00
rdma.txt rdma: rename 'x-rdma' => 'rdma' 2014-02-25 14:30:28 +01:00
spice-port-fqdn.txt docs: add spice-port-fqdn.txt 2012-12-17 14:01:41 +01:00
tracing.txt Update documentation for LTTng ust tracing 2014-02-19 11:08:54 +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 virtio-balloon: return empty data when no stats are available 2014-05-25 12:46:58 +03: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 qmp hmp: Consistently name Error * objects err, and not errp 2014-05-08 14:20:00 -04: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