debuggers.hg

view tools/ioemu/patches/qemu-daemonize @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children
line source
1 Changes required because qemu-dm runs daemonized.
3 Index: ioemu/vl.c
4 ===================================================================
5 --- ioemu.orig/vl.c 2007-05-10 15:34:24.000000000 +0100
6 +++ ioemu/vl.c 2007-05-10 15:34:25.000000000 +0100
7 @@ -7030,10 +7030,11 @@
8 }
9 break;
10 case QEMU_OPTION_nographic:
11 - pstrcpy(monitor_device, sizeof(monitor_device), "stdio");
12 + if(!strcmp(monitor_device, "vc"))
13 + pstrcpy(monitor_device, sizeof(monitor_device), "null");
14 if(!strcmp(serial_devices[0], "vc"))
15 pstrcpy(serial_devices[0], sizeof(serial_devices[0]),
16 - "stdio");
17 + "null");
18 nographic = 1;
19 break;
20 case QEMU_OPTION_kernel: