This new try to re-enable the virtio-balloon driver stats uses QOM properties via a polling mechanism as suggested by Anthony here:
http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg02390.html The second patch contains the implementation, the last patch contains documentation and examples. Luiz Capitulino (3): virtio-balloon: drop old stats code virtio-balloon: re-enable balloon stats docs: document virtio-balloon stats docs/virtio-balloon-stats.txt | 73 +++++++++++++++++ hw/virtio-balloon.c | 178 ++++++++++++++++++++++++++++++++++++------ 2 files changed, 228 insertions(+), 23 deletions(-) create mode 100644 docs/virtio-balloon-stats.txt -- 1.8.0