From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=45830 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGcsM-0002uE-8G for qemu-devel@nongnu.org; Thu, 11 Nov 2010 14:32:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGcsL-0002KE-0a for qemu-devel@nongnu.org; Thu, 11 Nov 2010 14:32:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:4305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGcsK-0002Jo-PI for qemu-devel@nongnu.org; Thu, 11 Nov 2010 14:32:00 -0500 From: Luiz Capitulino Date: Thu, 11 Nov 2010 17:31:50 -0200 Message-Id: <1289503913-27413-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/3]: 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, avi@redhat.com Simple example: -> { "execute": "human-monitor-command", "arguments": { "command-line": "print /i 10+25" } } <- { "return": "35\r\n" } Please, check individual patches for details. Also note that this series depends on the script improvements one. Also, Markus suggestion of having an assert() in qemu_chr_close() have not been added this series because I don't know what to assert(). But that's an incremental change anyway and should prevent this series from being merged. changelog --------- v2 -> v3 - Renamed command name to human-monitor-command - Fixed buggy error reporting when cpu-index is invalid - Make qemu_chr_mem_to_qs() return a string when outbuf is empty - Introduced qemu_chr_mem_osize() along with some cleanups v1 -> v2 - A number of small cleanups and clarifications Thanks.