summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-vl.c-nographic
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/patch-vl.c-nographic')
-rw-r--r--emulators/qemu-devel/files/patch-vl.c-nographic9
1 files changed, 9 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-vl.c-nographic b/emulators/qemu-devel/files/patch-vl.c-nographic
new file mode 100644
index 000000000000..be2f002c4920
--- /dev/null
+++ b/emulators/qemu-devel/files/patch-vl.c-nographic
@@ -0,0 +1,9 @@
+Index: qemu/vl.c
+@@ -4668,6 +4668,7 @@
+ case QEMU_OPTION_nographic:
+ pstrcpy(monitor_device, sizeof(monitor_device), "stdio");
+ pstrcpy(serial_devices[0], sizeof(serial_devices[0]), "stdio");
++ pstrcpy(parallel_devices[0], sizeof(parallel_devices[0]), "null");
+ nographic = 1;
+ break;
+ case QEMU_OPTION_kernel: