disable guest-provided stats on "info balloon" command
commit8b84b68e7d6125dbfc092b806210d5940468d530
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 14 Sep 2010 16:43:39 +0000 (14 13:43 -0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 11 Oct 2010 23:22:18 +0000 (11 18:22 -0500)
treef12de33ab180e7d3873c3be68e05530e0abf3eac
parent14a0b95684d5e3588cab88c4900433746ab56c58
disable guest-provided stats on "info balloon" command

The addition of memory stats reporting to the virtio balloon causes
the 'info balloon' command to become asynchronous.  This is a regression
because in some cases it can hang the user monitor.

This is an alternative to Adam Litke's patch. Adam's patch disabled the
corresponding (guest-visible) virtio feature bit, causing issues for migration.
Original discussion is available at:
http://marc.info/?l=qemu-devel&m=128448124328314&w=2

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Adam Litke <agl@us.ibm.com
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
(cherry picked from commit 07b0403dfc2b2ac179ae5b48105096cc2d03375a)
hw/virtio-balloon.c