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.