]> git.proxmox.com Git - qemu.git/commit
disable guest-provided stats on "info balloon" command
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 14 Sep 2010 16:43:39 +0000 (13:43 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 11 Oct 2010 22:53:31 +0000 (19:53 -0300)
commit7bd11bc311ecb25ad7f8426b30cad52fb90dd020
treed94685ecf8543e230b0817b3d443f8f5f1dd7f58
parent30811f0d943f78bb5af00d0f32d5d9a1fd18a03e
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