[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [qemu] Default monitor/serial ports to /dev/null if -nographic.
# HG changeset patch # User chris@xxxxxxxxxxxxxxxxxxxxxxxx # Node ID a774cbd38187d13a1e7d9af382e9558079824d38 # Parent 83003532d71ff0a8da04e01db59880104ad890c7 [qemu] Default monitor/serial ports to /dev/null if -nographic. qemu-dm runs daemonized and the default for -nographic is to redirect the monitor and serial ports to stdio which causes qemu-dm to busy read from stdin. Change the default for -nographic to redirect the monitor and serial ports to /dev/null. Based on a patch from: Steven Smith <sos22-xen@xxxxxxxxxxxxx> Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx> --- tools/ioemu/vl.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff -r 83003532d71f -r a774cbd38187 tools/ioemu/vl.c --- a/tools/ioemu/vl.c Thu Aug 17 11:32:39 2006 +0100 +++ b/tools/ioemu/vl.c Thu Aug 17 11:34:13 2006 +0100 @@ -6036,10 +6036,11 @@ int main(int argc, char **argv) } break; case QEMU_OPTION_nographic: - pstrcpy(monitor_device, sizeof(monitor_device), "stdio"); + if(!strcmp(monitor_device, "vc")) + pstrcpy(monitor_device, sizeof(monitor_device), "null"); if(!strcmp(serial_devices[0], "vc")) pstrcpy(serial_devices[0], sizeof(serial_devices[0]), - "stdio"); + "null"); nographic = 1; break; case QEMU_OPTION_kernel: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |