]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Fix errant brace in KVM capability handling
authorBen Gardon <bgardon@google.com>
Mon, 13 Jun 2022 21:25:20 +0000 (21:25 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jun 2022 08:51:48 +0000 (04:51 -0400)
commit6fd58fd16d43cf9d9300d34ae2873a6d3b76fb52
tree8fbe1df15a1db0f0a5b21a7cecabf1bdfe956446
parent40a673f248f04a819ac04fb239d652ac7d5ac005
KVM: x86: Fix errant brace in KVM capability handling

The braces around the KVM_CAP_XSAVE2 block also surround the
KVM_CAP_PMU_CAPABILITY block, likely the result of a merge issue. Simply
move the curly brace back to where it belongs.

Fixes: b4c088b70bbf6 ("KVM: x86: Provide per VM capability for disabling PMU virtualization")
Reviewed-by: David Matlack <dmatlack@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20220613212523.3436117-8-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c