Signed-off-by: Matthew Kent <[EMAIL PROTECTED]> --- qemu/vnc.c | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/qemu/vnc.c b/qemu/vnc.c index 37d5e35..4430651 100644 --- a/qemu/vnc.c +++ b/qemu/vnc.c @@ -1109,8 +1109,16 @@ static int protocol_client_init(VncState *vs, char *data, size_t len) vnc_write(vs, pad, 3); /* padding */ - vnc_write_u32(vs, 4); - vnc_write(vs, "QEMU", 4); +#if USE_KVM + if (kvm_allowed) { + vnc_write_u32(vs, 8); + vnc_write(vs, "QEMU/KVM", 8); + } else +#endif + { + vnc_write_u32(vs, 4); + vnc_write(vs, "QEMU", 4); + } vnc_flush(vs); vnc_read_when(vs, protocol_client_msg, 1); -- 1.5.2.2 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel