kvm: x86: mmu: Use symbolic constants for EPT Violation Exit Qualifications
authorJunaid Shahid <junaids@google.com>
Wed, 7 Dec 2016 00:46:10 +0000 (16:46 -0800)
committerRadim Krčmář <rkrcmar@redhat.com>
Mon, 9 Jan 2017 13:46:05 +0000 (14:46 +0100)
commit27959a4415a5a00881a7b9353ab9b1274da2ca47
tree5f0a762bd7a1e43e7062c88d446bf4e99259d806
parent114df303a7eeae8b50ebf68229b7e647714a9bea
kvm: x86: mmu: Use symbolic constants for EPT Violation Exit Qualifications

This change adds some symbolic constants for VM Exit Qualifications
related to EPT Violations and updates handle_ept_violation() to use
these constants instead of hard-coded numbers.

Signed-off-by: Junaid Shahid <junaids@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/vmx.h
arch/x86/kvm/vmx.c