From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbZZa-0006tr-Ck for qemu-devel@nongnu.org; Thu, 22 Nov 2012 11:24:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbZZZ-0002zE-AF for qemu-devel@nongnu.org; Thu, 22 Nov 2012 11:24:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:10216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbZZZ-0002z5-1o for qemu-devel@nongnu.org; Thu, 22 Nov 2012 11:24:17 -0500 Date: Thu, 22 Nov 2012 14:24:14 -0200 From: Luiz Capitulino Message-ID: <20121122142414.3f97883a@doriath.home> In-Reply-To: <50AE4E34.40105@redhat.com> References: <24E144B8C0207547AD09C467A8259F755782E999@lisa.maurer-it.com> <20121122112026.405709d8@doriath.home> <50AE4640.3000604@redhat.com> <24E144B8C0207547AD09C467A8259F755782EC31@lisa.maurer-it.com> <50AE4C32.6050309@redhat.com> <24E144B8C0207547AD09C467A8259F755782ECC5@lisa.maurer-it.com> <50AE4E34.40105@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qmp problems with --enable-kvm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Dietmar Maurer , "qemu-devel@nongnu.org" On Thu, 22 Nov 2012 17:09:24 +0100 Paolo Bonzini wrote: > Il 22/11/2012 17:04, Dietmar Maurer ha scritto: > >> Ok, in any case Jan's patch was for a QEMU that didn't start at all with -- > >> > enable-kvm -monitor stdio, i.e. really unrelated. Right. When I saw qmp and --enable-kvm in the same sentence I automatically thought about Jan's patch I saw the other day. > >> > In any case, I cannot reproduce it here. > > Any idea what can cause such behaviour? > > 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 (!?).