From patchwork Mon Dec 7 12:42:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [FOR, 0.12, v3, 04/21] vc: colorize chardev title line with blue background. Date: Mon, 07 Dec 2009 02:42:36 -0000 From: Gerd Hoffmann X-Patchwork-Id: 40475 Message-Id: <1260189773-20728-5-git-send-email-kraxel@redhat.com> To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , agraf@suse.de, lcapitulino@redhat.com 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);