Send guest output on all xen-attached console devices

(i.e., on vga console as well as serial console, if dom0
didn't take over the vga console).

Signed-off-by: Jan Beulich <JBeulich@novell.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-01-10 16:00:37 +01:00
1 parent 361fad2231
commit 86bf018541
1 file changed
+4 -1
+4 -1
View File
@@ -311,7 +311,7 @@ static void serial_rx(char c, struct cpu_user_regs *regs)
long guest_console_write(char *buffer, int count)
{
char kbuf[128];
char kbuf[128], *kptr;
int kcount;
while ( count > 0 )
@@ -334,6 +334,9 @@ long guest_console_write(char *buffer, int count)
serial_puts(sercon_handle, kbuf);
for ( kptr = kbuf; *kptr != '\0'; kptr++ )
putchar_console(*kptr);
buffer += kcount;
count -= kcount;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.