KVM: x86: Add a VALID_MASK for the flag in kvm_msr_filter
authorAaron Lewis <aaronlewis@google.com>
Wed, 21 Sep 2022 15:15:23 +0000 (15:15 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Nov 2022 17:31:29 +0000 (12:31 -0500)
commitc1340fe3590ebbe729294c728234434ef31a7c7a
treecea94221e3ab045b4efcd8e2c0f44002848889d1
parentdb205f7e1edc8d8f0880f0218d3a03b13fe94af3
KVM: x86: Add a VALID_MASK for the flag in kvm_msr_filter

Add the mask KVM_MSR_FILTER_VALID_MASK for the flag in the struct
kvm_msr_filter.  This makes it easier to introduce new flags in the
future.

No functional change intended.

Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Message-Id: <20220921151525.904162-4-aaronlewis@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/uapi/asm/kvm.h
arch/x86/kvm/x86.c