qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Michal Privoznik <mprivozn@redhat.com>
To: libvir-list@redhat.com
Cc: mdroth@linux.vnet.ibm.com, qemu-devel@nongnu.org, lcapitulino@redhat.com
Subject: [Qemu-devel] [PATCH 0/2] qemu_agent: Switch to event driven impl
Date: Fri, 15 Jun 2012 18:10:09 +0200	[thread overview]
Message-ID: <cover.1339776203.git.mprivozn@redhat.com> (raw)

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

             reply	other threads:[~2012-06-15 16:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-15 16:10 Michal Privoznik [this message]
2012-06-15 16:10 ` [Qemu-devel] [PATCH 1/2] qemu_agent: Add some more debug prints Michal Privoznik
2012-06-15 17:09   ` [Qemu-devel] [libvirt] " Eric Blake
2012-06-15 16:10 ` [Qemu-devel] [PATCH 2/2] qemu_agent: Wait for events instead of agent response Michal Privoznik
2012-06-15 17:16   ` [Qemu-devel] [libvirt] " Eric Blake
2012-06-16  7:51     ` Michal Privoznik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1339776203.git.mprivozn@redhat.com \
    --to=mprivozn@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=libvir-list@redhat.com \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).