From: Luiz Capitulino <lcapitulino@redhat.com>
To: Luiz Capitulino <lcapitulino@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Dietmar Maurer <dietmar@proxmox.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] qmp problems with --enable-kvm
Date: Thu, 22 Nov 2012 14:33:24 -0200 [thread overview]
Message-ID: <20121122143324.27c55bce@doriath.home> (raw)
In-Reply-To: <20121122142414.3f97883a@doriath.home>
On Thu, 22 Nov 2012 14:24:14 -0200
Luiz Capitulino <lcapitulino@redhat.com> wrote:
> > It seems like mon->mc->command_mode is set wrong, looking at
> > qmp_cmd_mode and its callers. Luiz may have more ideas.
>
> Checking. What I've just found is that qmp_capabilites will fail if the
> VM is stopped (!?).
It's a regression somewhere. I doubt it's qmp, but could be.
Here are the symptoms, Doc:
1. Start qemu and stop it right away. Connect to the QMP socket and you
won't get qmp's greeting
2. Start qemu, connect to the QMP socket and run the qmp_capabilities
command. Then stop qemu and disconnect from the qmp socket and connect
again: you'll see you're still in the previous session
I do not get this with qemu 1.0.
Dietmar got this because the suspend command automatically stops the VM
after migration...
Bisecting...
next prev parent reply other threads:[~2012-11-22 16:33 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-22 12:41 [Qemu-devel] qmp problems with --enable-kvm Dietmar Maurer
2012-11-22 13:20 ` Luiz Capitulino
2012-11-22 13:44 ` Dietmar Maurer
2012-11-22 15:07 ` Luiz Capitulino
2012-11-22 15:35 ` Paolo Bonzini
2012-11-22 15:53 ` Dietmar Maurer
2012-11-22 16:00 ` Paolo Bonzini
2012-11-22 16:04 ` Dietmar Maurer
2012-11-22 16:09 ` Paolo Bonzini
2012-11-22 16:24 ` Luiz Capitulino
2012-11-22 16:33 ` Luiz Capitulino [this message]
2012-11-22 16:58 ` Luiz Capitulino
2012-11-22 17:07 ` Paolo Bonzini
2012-11-22 17:09 ` Jan Kiszka
2012-11-22 17:24 ` Luiz Capitulino
2012-11-23 6:29 ` Dietmar Maurer
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=20121122143324.27c55bce@doriath.home \
--to=lcapitulino@redhat.com \
--cc=dietmar@proxmox.com \
--cc=pbonzini@redhat.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).