]> 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>
Thu, 28 Sep 2023 04:34:34 +0000 (07:34 +0300)
commit97037995c1c3e7645f2600046a7f4c88c5ec45cd
treefc8a5ad290ef453c97f9c82ee7799ff95090398b
parent0732512dbb21764a709c07058a9aced8727cf068
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