From 09a214dd9c1659e23ecd02d700bb1a0547900e6c Mon Sep 17 00:00:00 2001 From: kraxel Date: Wed, 18 Mar 2009 08:25:51 +0000 Subject: fix usbhost parser, change vm name lookup --- monitor.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index 4ddfd1b..cc640ac 100644 --- a/monitor.c +++ b/monitor.c @@ -275,12 +275,6 @@ int monitor_connect(struct qemu_window *win, char *dest) char buf[256]; int fd; - if (!strchr(dest,':') && !strchr(dest,'/')) { - /* just a name */ - snprintf(buf, sizeof(buf), "unix:%s/.qemu-gtk/%s", getenv("HOME"), dest); - dest = buf; - } - fd = conn_init(&win->monitor, "monitor", dest); if (-1 == fd) return -1; -- cgit