Received: from [140.186.70.92] (port=36724 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PATJn-0004tq-M2 for qemu-devel@nongnu.org; Mon, 25 Oct 2010 16:06:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PATJm-0004vE-Kf for qemu-devel@nongnu.org; Mon, 25 Oct 2010 16:06:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PATJm-0004v7-BJ for qemu-devel@nongnu.org; Mon, 25 Oct 2010 16:06:54 -0400 From: Luiz Capitulino Date: Mon, 25 Oct 2010 18:06:42 -0200 Message-Id: <1288037204-27768-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [RFC 0/2]: QMP: Human Monitor passthrough List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, armbru@redhat.com This is my first try on implementing HMP passthrough via QMP. I've tried to follow Anthony's advice on creating a buffered char device. If this approach is good (and the implementation is not faulty), I believe this is very near a mergeble state (although I haven't tested much yet). Example: -> { "execute": "hmp_passthrough", "arguments": { "command-line": "print /i 10+25" } } <- { "return": "35\r\n" } Thanks.