[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] pty/tty functions for BSD too
From: |
Samuel Thibault |
Subject: |
[Qemu-devel] pty/tty functions for BSD too |
Date: |
Mon, 18 Aug 2008 11:59:12 +0100 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
Hello,
In Xen, pty/tty functions are enabled for BSD too, shouldn't we enable
them in upstream qemu too, as patched below?
Samuel
Index: vl.c
===================================================================
--- vl.c (révision 5022)
+++ vl.c (copie de travail)
@@ -2466,7 +2466,7 @@
}
#endif
-#if defined(__linux__) || defined(__sun__)
+#if defined(__linux__) || defined(__sun__) || defined(__NetBSD__) ||
defined(__OpenBSD__)
typedef struct {
int fd;
@@ -3816,7 +3816,7 @@
return qemu_chr_open_pp(filename);
} else
#endif
-#if defined(__linux__) || defined(__sun__)
+#if defined(__linux__) || defined(__sun__) || defined(__NetBSD__) ||
defined(__OpenBSD__)
if (strstart(filename, "/dev/", NULL)) {
return qemu_chr_open_tty(filename);
} else
- [Qemu-devel] pty/tty functions for BSD too,
Samuel Thibault <=
- Re: [Qemu-devel] pty/tty functions for BSD too, Anthony Liguori, 2008/08/18
- Re: [Qemu-devel] pty/tty functions for BSD too, Samuel Thibault, 2008/08/18
- Re: [Qemu-devel] pty/tty functions for BSD too, Blue Swirl, 2008/08/18
- Re: [Qemu-devel] pty/tty functions for BSD too, Daniel P. Berrange, 2008/08/18
- Re: [Qemu-devel] pty/tty functions for BSD too, Blue Swirl, 2008/08/18
- Re: [Qemu-devel] pty/tty functions for BSD too, Blue Swirl, 2008/08/18
- Re: [Qemu-devel] pty/tty functions for BSD too, Daniel P. Berrange, 2008/08/18
- Re: [Qemu-devel] pty/tty functions for BSD too, Jamie Lokier, 2008/08/18