From patchwork Mon Dec 7 12:42:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 40475 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 2BFC2B6F0C for ; Mon, 7 Dec 2009 23:49:46 +1100 (EST) Received: from localhost ([127.0.0.1]:43657 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHd27-0007hQ-A0 for incoming@patchwork.ozlabs.org; Mon, 07 Dec 2009 07:49:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHcwj-0005Hm-0S for qemu-devel@nongnu.org; Mon, 07 Dec 2009 07:44:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHcwe-0005Ek-8r for qemu-devel@nongnu.org; Mon, 07 Dec 2009 07:44:08 -0500 Received: from [199.232.76.173] (port=58668 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHcwd-0005Eg-VV for qemu-devel@nongnu.org; Mon, 07 Dec 2009 07:44:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:28692) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHcwd-0000fh-Lk for qemu-devel@nongnu.org; Mon, 07 Dec 2009 07:44:03 -0500 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB7Ci2qP028899 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 7 Dec 2009 07:44:02 -0500 Received: from zweiblum.home.kraxel.org (vpn2-8-247.ams2.redhat.com [10.36.8.247]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB7Chxh7005509; Mon, 7 Dec 2009 07:44:00 -0500 Received: by zweiblum.home.kraxel.org (Postfix, from userid 500) id 83B427010A; Mon, 7 Dec 2009 13:43:59 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Mon, 7 Dec 2009 13:42:36 +0100 Message-Id: <1260189773-20728-5-git-send-email-kraxel@redhat.com> In-Reply-To: <1260189773-20728-1-git-send-email-kraxel@redhat.com> References: <1260189773-20728-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Gerd Hoffmann , agraf@suse.de, lcapitulino@redhat.com Subject: [Qemu-devel] [FOR 0.12 PATCH v3 04/21] vc: colorize chardev title line with blue background. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Gerd Hoffmann --- console.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/console.c b/console.c index 2aeb5b3..8086bd6 100644 --- a/console.c +++ b/console.c @@ -1388,8 +1388,10 @@ static void text_console_do_init(CharDriverState *chr, DisplayState *ds, QemuOpt char msg[128]; int len; + s->t_attrib.bgcol = COLOR_BLUE; len = snprintf(msg, sizeof(msg), "%s console\r\n", chr->label); console_puts(chr, (uint8_t*)msg, len); + s->t_attrib = s->t_attrib_default; } qemu_chr_generic_open(chr);