]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Protect the unused bits in MSR exiting flags
authorAaron Lewis <aaronlewis@google.com>
Thu, 14 Jul 2022 16:13:15 +0000 (16:13 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Jul 2022 18:04:18 +0000 (14:04 -0400)
commit0cbbdb5f4ed40bfecc28095bcaf6861cfb2da242
treeb1d4db84602bdbedac5d8e60ec15a1453ac848b6
parent7a9ff47924815655fb6d98ae47c06f82335a792f
KVM: x86: Protect the unused bits in MSR exiting flags

The flags for KVM_CAP_X86_USER_SPACE_MSR and KVM_X86_SET_MSR_FILTER
have no protection for their unused bits.  Without protection, future
development for these features will be difficult.  Add the protection
needed to make it possible to extend these features in the future.

Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Message-Id: <20220714161314.1715227-1-aaronlewis@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c