From 735ba5884943ad91be660b59092ab7592c4bde07 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 8 Dec 2009 13:11:40 +0100 Subject: [PATCH] vc: colorize chardev title line with blue background. Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori --- console.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/console.c b/console.c index 2aeb5b33c..8086bd6f2 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);