disable guest-provided stats on "info balloon" command
commit07b0403dfc2b2ac179ae5b48105096cc2d03375a
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 14 Sep 2010 16:43:39 +0000 (14 13:43 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 1 Oct 2010 13:20:06 +0000 (1 10:20 -0300)
tree6fc8c96fd8c27174370eb88224fbc8263eded2d4
parent39eaab9ac2a82f5370758e8aeb8b7196f34fdabf
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>
hw/virtio-balloon.c