From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55597 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVkVK-0006D6-F1 for qemu-devel@nongnu.org; Thu, 23 Dec 2010 07:42:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVkVJ-0000jI-8g for qemu-devel@nongnu.org; Thu, 23 Dec 2010 07:42:46 -0500 Received: from mail-wy0-f173.google.com ([74.125.82.173]:49297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVkVI-0000j4-W2 for qemu-devel@nongnu.org; Thu, 23 Dec 2010 07:42:45 -0500 Received: by wyg36 with SMTP id 36so6559023wyg.4 for ; Thu, 23 Dec 2010 04:42:44 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Thu, 23 Dec 2010 13:42:46 +0100 Message-Id: <1293108174-24895-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/8] make -qmp stdio usable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This patch series is a rewritten version of the patch to disable raw mode on the terminal when "-qmp stdio" is given on the command-line. The rewritten series has several advantages, including working for text consoles ("-qmp vc2") and especially working with -chardev/-mon without the need to add special options. This is because in this series it is _the monitor_ who asks to disable raw mode. Patch 2 adds a new CharDriverState method. Patches 3/4 implement it for stdio, while patches 5/6 implement it for text consoles. Patches 1, 7 and 8 are related cleanups. Paolo Bonzini (8): remove broken code for tty add qemu_chr_set_echo move atexit(term_exit) to qemu_chr_open_stdio add set_echo implementation for qemu_chr_stdio create TextConsole together with the CharDeviceState add set_echo implementation for text consoles remove text_console_opts fix QemuOpts leak console.c | 81 +++++++++++++++++++++++++++++++++++----------------------- monitor.c | 1 + qemu-char.c | 62 +++++++++++++++++++++++--------------------- qemu-char.h | 2 + 5 files changed, 85 insertions(+), 63 deletions(-) -- 1.7.3.2