From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWXcP-0008IJ-VB for qemu-devel@nongnu.org; Mon, 21 May 2012 14:46:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SWXcO-0003QN-6F for qemu-devel@nongnu.org; Mon, 21 May 2012 14:46:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWXcN-0003PS-U7 for qemu-devel@nongnu.org; Mon, 21 May 2012 14:46:08 -0400 From: "Daniel P. Berrange" Date: Mon, 21 May 2012 17:59:50 +0100 Message-Id: <1337619593-25823-1-git-send-email-berrange@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/3] Event notifications for balloon driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Amit Shah , Markus Armbruster , Anthony Liguori , Luiz Capitulino 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