|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] ioemu: Do not close slave half of a pty.
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1198146922 0
# Node ID d0052f37363c7beccc2694ec7dcfcbf95e69fde0
# Parent f12da56acc577ac48a997c10480b220ec2a3d44d
ioemu: Do not close slave half of a pty.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
tools/ioemu/vl.c | 2 --
1 files changed, 2 deletions(-)
diff -r f12da56acc57 -r d0052f37363c tools/ioemu/vl.c
--- a/tools/ioemu/vl.c Wed Dec 19 15:56:10 2007 +0000
+++ b/tools/ioemu/vl.c Thu Dec 20 10:35:22 2007 +0000
@@ -1876,8 +1876,6 @@ static CharDriverState *qemu_chr_open_pt
/* Set raw attributes on the pty. */
cfmakeraw(&tty);
tcsetattr(slave_fd, TCSAFLUSH, &tty);
-
- close(slave_fd);
fprintf(stderr, "char device redirected to %s\n", ptsname(master_fd));
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] ioemu: Do not close slave half of a pty.,
Xen patchbot-unstable <=
|
|
|
|
|