projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51bfa4d
)
vc: colorize chardev title line with blue background.
author
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 8 Dec 2009 12:11:40 +0000
(13:11 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Sat, 12 Dec 2009 13:59:42 +0000
(07:59 -0600)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
console.c
patch
|
blob
|
history
diff --git
a/console.c
b/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);