diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2007-12-20 10:35:22 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2007-12-20 10:35:22 +0000 |
commit | bbe568ca78f47f3e7188154b35e53859d75f8472 (patch) | |
tree | f8e838d0d1df83150cf9446f12bcc1a24848cfcd | |
parent | 9fe8554a50d29c5992ae103fc4f6c79e4fc5c6ed (diff) | |
download | xen-bbe568ca78f47f3e7188154b35e53859d75f8472.tar.gz xen-bbe568ca78f47f3e7188154b35e53859d75f8472.tar.bz2 xen-bbe568ca78f47f3e7188154b35e53859d75f8472.zip |
ioemu: Do not close slave half of a pty.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-rw-r--r-- | tools/ioemu/vl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/ioemu/vl.c b/tools/ioemu/vl.c index 01f4bc7ef6..bb12a3fd99 100644 --- a/tools/ioemu/vl.c +++ b/tools/ioemu/vl.c @@ -1876,8 +1876,6 @@ static CharDriverState *qemu_chr_open_pty(void) /* 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)); |