diff options
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; |