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>
(cherry picked from commit 735ba58849)
			
			
This commit is contained in:
		
							parent
							
								
									25d82d3311
								
							
						
					
					
						commit
						6ac733bf09
					
				| 
						 | 
				
			
			@ -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);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue