Event notifications for balloon driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 14 repliesIn review
- v11 patch 4 repliesSuperseded
Changes in v2 from the cover letter
- Use a static array of strings for QMP event ID -> string conversion
- Add BALLOON_CHANGE to qmp-events.txt
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Add 'query-events' command to QMP to query async eventsmonitor.c monitor.h qapi-schema.json +1 more | +108 | 1 reply | |
| 2/3 | Add event notification for guest balloon changesQMP/ balloon.c balloon.h +3 more | +41 | 3 replies | |
| 3/3 | Add rate limiting of RTC_CHANGE, BALLOON_CHANGE & WATCHDOG eventsmonitor.c monitor.h trace-events +1 more | +164 | 7 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Qemu-devel] [PATCH v2 0/3] Event notifications for balloon driver
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