Description of problem:
virt-manager skip authentication only for VNC with listen type none.
Version-Release number of selected component (if applicable):
virt-manager-1.4.1-2.el7.noarch
virt-install-1.4.1-2.el7.noarch
virt-manager-common-1.4.1-2.el7.noarch
qemu-kvm-rhev-2.8.0-6.el7.x86_64
libvirt-3.2.0-3.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Prepare a vnc guest: Listen type: none
# virsh dumpxml rhel7.3latest-vnc --security-info
<graphics type='vnc' port='-1' autoport='yes' passwd='aabb'>
<listen type='none'/>
</graphics>
2. Launch virt-manager, then double click guest to connect to guest console.
Result: Can login guest without authentication.(http://post-office.corp.redhat.com/archives/rhvirt-patches/2017-March/msg00817.html)
Actual results:
As description.
Expected results:
For QEMU has a Bug 1435352 and because of that we need to skip authentication for listen type=none.
Once it gets fixed in QEMU we need update the code in virt-manager to skip the authentication only for broken QEMUs.
Additional info: