diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-12-10 14:44:16 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-21 13:58:16 +0100 |
commit | 345599f9a292899bf5474651f3cea9b7a0576436 (patch) | |
tree | 9da0cec97792658b18d01eae6b38ed5d99a1d80f /arch/x86/kvm/emulate.c | |
parent | 96be4e069c938e4a5fc7125de7e1cc7089b1adef (diff) |
KVM: x86: Add macro to ensure reserved cr4 bits checks stay in sync
Add a helper macro to generate the set of reserved cr4 bits for both
host and guest to ensure that adding a check on guest capabilities is
also added for host capabilities, and vice versa.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/emulate.c')
0 files changed, 0 insertions, 0 deletions