From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfZ6R-0005N6-6O for qemu-devel@nongnu.org; Fri, 15 Jun 2012 12:10:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfZ6P-0001EG-7v for qemu-devel@nongnu.org; Fri, 15 Jun 2012 12:10:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfZ6O-00017L-VY for qemu-devel@nongnu.org; Fri, 15 Jun 2012 12:10:25 -0400 From: Michal Privoznik Date: Fri, 15 Jun 2012 18:10:09 +0200 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 0/2] qemu_agent: Switch to event driven impl List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: libvir-list@redhat.com Cc: mdroth@linux.vnet.ibm.com, qemu-devel@nongnu.org, lcapitulino@redhat.com Qemu fixed some qemu-ga commands reporting bogus success: http://www.mail-archive.com/qemu-devel@nongnu.org/msg110261.html Therefore we need an implementation which won't wait for qemu-ga to reply and hence block indefinitely. Fortunately, we can take events on qemu monitor as indication of success. Michal Privoznik (2): qemu_agent: Add some more debug prints qemu_agent: Wait for events instead of agent response src/qemu/qemu_agent.c | 52 +++++++++++++++++++++++++++++++++++++++++----- src/qemu/qemu_agent.h | 9 ++++++++ src/qemu/qemu_process.c | 9 ++++++++ 3 files changed, 64 insertions(+), 6 deletions(-) -- 1.7.8.5