From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnYPB-0007yO-Mr for qemu-devel@nongnu.org; Fri, 14 Jun 2013 14:07:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnYPA-0007n9-Pc for qemu-devel@nongnu.org; Fri, 14 Jun 2013 14:07:21 -0400 Received: from mx4-phx2.redhat.com ([209.132.183.25]:42079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnYPA-0007mv-Il for qemu-devel@nongnu.org; Fri, 14 Jun 2013 14:07:20 -0400 Date: Fri, 14 Jun 2013 14:07:19 -0400 (EDT) From: Alon Levy Message-ID: <196559746.19701897.1371233239366.JavaMail.root@redhat.com> In-Reply-To: <336668023.19700685.1371232970391.JavaMail.root@redhat.com> References: <1371151644-22308-1-git-send-email-alevy@redhat.com> <51BAFBFD.5010702@redhat.com> <336668023.19700685.1371232970391.JavaMail.root@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] make screendump an async command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: airlied@redhat.com, aliguori@us.ibm.com, qemu-devel@nongnu.org > > Hi, > > > > > Note: due to QAPI not generating async commands yet I had to remove the > > > schema screendump definition. > > > > Hmm, that will break libvirt I suspect. Guess this one has to wait > > until QAPI gained proper async command support. > > It doesn't break anything. I've tested, To clarify, I tested with "virsh screenshot" as well. > and here is the QMP transcript, the > only difference is internal to qemu, from libvirt point of view it issues > the same command and gets the same response: > > $ ./x86_64-softmmu/qemu-system-x86_64 -qmp stdio > {"QMP": {"version": {"qemu": {"micro": 50, "minor": 5, "major": 1}, > "package": ""}, "capabilities": []}} > {"execute":"qmp_capabilities"} > {"return": {}} > {"execute":"screendump","arguments":{"filename":"test2.ppm"}} > {"return": {}} > > > > > > cheers, > > Gerd > > > > > > > > > >