]> git.proxmox.com Git - qemu.git/commitdiff
vc: colorize chardev title line with blue background.
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 8 Dec 2009 12:11:40 +0000 (13:11 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 12 Dec 2009 14:17:29 +0000 (08:17 -0600)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 735ba5884943ad91be660b59092ab7592c4bde07)

console.c

index 2aeb5b33c50f2768670342e31b2328c834a73111..8086bd6f200299233862d0e63b68f9ce94313539 100644 (file)
--- 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);