diff options
author | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2011-02-04 18:47:39 +0000 |
---|---|---|
committer | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2011-02-04 18:47:39 +0000 |
commit | a69a0358f60de0ce4d00645d1599f7f7284a32c2 (patch) | |
tree | bb09386992df1a226e9addf303f2d047f1b8b8aa /xen/include/xen/sched.h | |
parent | 2cc64e2e7c43b8dceb5bcde1ec9fa838069a860c (diff) | |
download | xen-a69a0358f60de0ce4d00645d1599f7f7284a32c2.tar.gz xen-a69a0358f60de0ce4d00645d1599f7f7284a32c2.tar.bz2 xen-a69a0358f60de0ce4d00645d1599f7f7284a32c2.zip |
libxl: vncviewer: make autopass work properly
The file we write the vnc password to must be rewound back to the
beginning, or the vnc viewer will simply get EOF.
When the syscalls for communicating the password to the vnc client
fail, bomb out with an error messsage rather than blundering on (and
probably producing a spurious password prompt).
Following this patch, xl vncviewer --autopass works, provided the qemu
patch for writing the password to xenstore has also been applied.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'xen/include/xen/sched.h')
0 files changed, 0 insertions, 0 deletions