On 05/16/2012 08:35 AM, Daniel P. Berrange wrote:
The virDomainGetXMLDesc and virDomainGetInfo APIs for QEMU suffer
from needing to run 'query-balloon' to update the balloon level.
This has caused us performance problems and even worse caused us
to lock up on a dead QEMU.
The following two patches to QEMU add a BALLOON_EVENT and a query-events
command to QMP. With those two parts, we can avoiding running the
query-balloon command at all.
https://lists.gnu.org/archive/html/qemu-devel/2012-05/msg02215.html
https://lists.gnu.org/archive/html/qemu-devel/2012-05/msg02255.html
I like the goal of this series, but we shouldn't apply it until this has
been accepted in upstream qemu and we have a commit id to point to.
That said, I'll still review the code.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org