]> 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)
commit2a475d227a3097ded6ebee55289dce8d8b8285eb
treeb1d4db84602bdbedac5d8e60ec15a1453ac848b6
parent95efd52952202b930864134b7cd1903bea8b9453
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