From: Gerd Hoffmann Date: Tue, 8 Dec 2009 12:11:40 +0000 (+0100) Subject: vc: colorize chardev title line with blue background. X-Git-Tag: v0.12.0-rc2~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ac733bf09daf1ed07af632018944264cedeb3df;p=thirdparty%2Fqemu.git vc: colorize chardev title line with blue background. Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori (cherry picked from commit 735ba5884943ad91be660b59092ab7592c4bde07) --- diff --git a/console.c b/console.c index 2aeb5b33c50..8086bd6f200 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);