Revision bc0129d9 vl.c
b/vl.c | ||
---|---|---|
8381 | 8381 |
} |
8382 | 8382 |
break; |
8383 | 8383 |
case QEMU_OPTION_nographic: |
8384 |
serial_devices[0] = "stdio"; |
|
8385 |
parallel_devices[0] = "null"; |
|
8386 |
monitor_device = "stdio"; |
|
8387 | 8384 |
nographic = 1; |
8388 | 8385 |
break; |
8389 | 8386 |
#ifdef CONFIG_CURSES |
... | ... | |
8781 | 8778 |
} |
8782 | 8779 |
} |
8783 | 8780 |
|
8781 |
if (nographic) { |
|
8782 |
if (serial_device_index == 0) |
|
8783 |
serial_devices[0] = "stdio"; |
|
8784 |
if (parallel_device_index == 0) |
|
8785 |
parallel_devices[0] = "null"; |
|
8786 |
if (strncmp(monitor_device, "vc", 2) == 0) |
|
8787 |
monitor_device = "stdio"; |
|
8788 |
} |
|
8789 |
|
|
8784 | 8790 |
#ifndef _WIN32 |
8785 | 8791 |
if (daemonize) { |
8786 | 8792 |
pid_t pid; |
Also available in: Unified diff