diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-11-05 10:08:03 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-11-05 10:08:03 +0100 |
commit | 0c84e1a52bab9055d0eadc6b854717fcaf054c04 (patch) | |
tree | 46eac6b352057e4b351fe2344708cd79f0ead94d /vconsole.c | |
parent | 4608e15fac274cefecf645b3a1d8939b9ae4f70c (diff) | |
download | vconsole-0c84e1a52bab9055d0eadc6b854717fcaf054c04.tar.gz |
indirect connect
Diffstat (limited to 'vconsole.c')
-rw-r--r-- | vconsole.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -291,7 +291,6 @@ static struct vconsole_domain *find_guest(struct vconsole_window *win) } static void run_virt_viewer(struct vconsole_domain *dom, - bool direct, bool reconnect) { char *argv[32]; @@ -302,8 +301,9 @@ static void run_virt_viewer(struct vconsole_domain *dom, argv[argc++] = "virt-viewer"; argv[argc++] = "--wait"; - if (direct) - argv[argc++] = "--direct"; +#if 0 + argv[argc++] = "--direct"; +#endif if (reconnect) argv[argc++] = "--reconnect"; argv[argc++] = "-c"; @@ -330,7 +330,7 @@ static void menu_cb_vm_gfx(GtkAction *action, void *data) struct vconsole_domain *dom = find_guest(win); if (dom) - run_virt_viewer(dom, true, true); + run_virt_viewer(dom, true); } static void menu_cb_vm_run(GtkAction *action, void *data) @@ -348,7 +348,7 @@ static void menu_cb_vm_run_gfx(GtkAction *action, void *data) struct vconsole_domain *dom = find_guest(win); if (dom) { - run_virt_viewer(dom, true, false); + run_virt_viewer(dom, false); domain_start(dom); } } |