summaryrefslogtreecommitdiff
path: root/emulators/qemu/files/patch-vl.c-serial
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-10-31 22:55:34 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-10-31 22:55:34 +0000
commit4a45abe0948d55a1f197b84dece3e32d1d43fbcd (patch)
tree8dcfacf44591741bc2c7db54659d33fc01c6c7f2 /emulators/qemu/files/patch-vl.c-serial
parent- Fix rc script (diff)
- update to 20061031 cvs snapshot (now uses aio and supports acpi and a new
qcow2 image format) - properly respect NOPORTDOCS - make -serial /dev/cuadX work (modified patch from this post: http://lists.gnu.org/archive/html/qemu-devel/2006-09/msg00201.html , and hi Michael! :) - add WITHOUT_SDL (hi joshe! :) and WITHOUT_CDROM_DMA knobs (the latter to work around atapicam problems in FreeBSD guests with the now by default enabled ide cdrom dma patch) - use OPTIONS PR: ports/104989 Submitted by: Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
Diffstat (limited to 'emulators/qemu/files/patch-vl.c-serial')
-rw-r--r--emulators/qemu/files/patch-vl.c-serial17
1 files changed, 17 insertions, 0 deletions
diff --git a/emulators/qemu/files/patch-vl.c-serial b/emulators/qemu/files/patch-vl.c-serial
new file mode 100644
index 000000000000..76c290e28abb
--- /dev/null
+++ b/emulators/qemu/files/patch-vl.c-serial
@@ -0,0 +1,17 @@
+Index: qemu/vl.c
+@@ -1606,10 +1606,13 @@
+ cfsetospeed(&tty, spd);
+
+ tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP
+- |INLCR|IGNCR|ICRNL|IXON);
+- tty.c_oflag |= OPOST;
++ |INLCR|IGNCR|ICRNL|IXON|IMAXBEL);
++ tty.c_oflag &= ~OPOST; /* Don't do any output processing! */
+ tty.c_lflag &= ~(ECHO|ECHONL|ICANON|IEXTEN|ISIG);
+ tty.c_cflag &= ~(CSIZE|PARENB|PARODD|CRTSCTS|CSTOPB);
++#ifdef __FreeBSD__
++ cfmakeraw(&tty);
++#endif
+ switch(data_bits) {
+ default:
+ case 8: