diff options
author | kraxel <kraxel> | 2008-11-04 14:22:31 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2008-11-04 14:22:31 +0000 |
commit | 08b3fdf47379a3309daa8f33c501079f07de4571 (patch) | |
tree | 9ac7f659a123d0b8774664a754d6391835786982 /qemu-gtk.c | |
parent | 5c906e533c9673d57b66f7c7ff4a40621fcaa9ab (diff) | |
download | qemu-gtk-08b3fdf47379a3309daa8f33c501079f07de4571.tar.gz |
- handle chardevs.
Diffstat (limited to 'qemu-gtk.c')
-rw-r--r-- | qemu-gtk.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -519,6 +519,10 @@ int conn_init(struct qemu_conn *conn, char *name, char *dest) conn->handle = unix_connect(path); } else if (1 == sscanf(dest, "pipe:%255s", path)) { conn->handle = pipe_connect(path); + } else if (1 == sscanf(dest, "pty:%255s", path)) { + conn->handle = cdev_connect(path); + } else if (1 == sscanf(dest, "pts:%255s", path)) { + conn->handle = cdev_connect(path); } else { fprintf(stderr, "can't parse \"%s\"\n", dest); conn->handle = -1; |