diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-12-08 13:11:40 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-12 07:59:42 -0600 |
commit | 735ba5884943ad91be660b59092ab7592c4bde07 (patch) | |
tree | 290efb448603c16078819f076a14d928c66a8de8 /console.c | |
parent | 51bfa4d3160fe1d5c2eca381020b8b6dd69c3c80 (diff) |
vc: colorize chardev title line with blue background.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'console.c')
-rw-r--r-- | console.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |