]> git.ipfire.org Git - thirdparty/qemu.git/commit
ui/vnc: fix handling of VNC_FEATURE_XVP
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 25 Sep 2023 11:05:58 +0000 (13:05 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 2 Oct 2023 23:00:54 +0000 (02:00 +0300)
commit3b86b92bfbbebbc8f6801588dafce7d76c1782d9
tree1b521ea08fe9abf2c80224c021876c062cc9f346
parent17f3a6221f010a95e277b88a80b6f763eafaeb0d
ui/vnc: fix handling of VNC_FEATURE_XVP

VNC_FEATURE_XVP was not shifted left before adding it to vs->features,
so it was never enabled; but it was also checked the wrong way with
a logical AND instead of vnc_has_feature.  Fix both places.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 477b301000d665313217f65e3a368d2cb7769c42)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
ui/vnc.c