From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44256 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIR4L-00044i-Tr for qemu-devel@nongnu.org; Tue, 16 Nov 2010 14:19:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIR4K-0000en-Q6 for qemu-devel@nongnu.org; Tue, 16 Nov 2010 14:19:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:28361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIR4K-0000eh-Er for qemu-devel@nongnu.org; Tue, 16 Nov 2010 14:19:52 -0500 From: Luiz Capitulino Date: Tue, 16 Nov 2010 17:19:41 -0200 Message-Id: <1289935184-16898-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH v4 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 --------- v3 -> v4 - Simplify qemu_chr_mem_to_qs() (as per Markus review) - Fix qmp-shell not to cache bad CPU index values 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.