KVM: VMX: refactor evmcs_sanitize_exec_ctrls()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 16 Oct 2018 16:50:00 +0000 (18:50 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Oct 2018 22:30:14 +0000 (00:30 +0200)
commit5d7a6443368e48ca041fea086e345420c027a8cd
tree56da8324ad8e9e3aadb739c3e88ff5e7aadcb012
parent72bbf9358c3676bd89dc4bd8fb0b1f2a11c288fc
KVM: VMX: refactor evmcs_sanitize_exec_ctrls()

Split off EVMCS1_UNSUPPORTED_* macros so we can re-use them when
enabling Enlightened VMCS for Hyper-V on KVM.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c