This series is a followup to 2 previously posted patches * BALLOON_CHANGE QMP event: http://lists.nongnu.org/archive/html/qemu-devel/2012-05/msg02215.html
* query-events QMP command: http://lists.nongnu.org/archive/html/qemu-devel/2012-05/msg02255.html Changes since v1: - Use a static array of strings for QMP event ID -> string conversion - Add BALLOON_CHANGE to qmp-events.txt There is also a new patch in this series, which introduces the ability todo simple rate limiting of stateless monitor events. With the ballooning of a 1.8 GB guest, down to 0.9 GB this reduced the number of events emitted from ~50 down to just 4, spread across a 4 second time window. It is important to note that events are only discarded when they are obsoleted by a newer event. So an application is guarenteed to see the final balloon event, with at worst a 1 second delay. This series is being tested with a corresponding patch to libvirt for handling balloon events https://www.redhat.com/archives/libvir-list/2012-May/msg00868.html