KVM: SVM: Get rid of x86_intercept_map::valid
authorAvi Kivity <avi@redhat.com>
Thu, 21 Apr 2011 09:35:41 +0000 (12:35 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:39:37 +0000 (08:39 -0400)
commit40e19b519caeb93def89c45082d776fccfb96dbb
tree1f513c1a623ec94fd7bf13e01a7edc3e4a57b9a1
parent5ef39c71d8398115245a5974b488f8703ba3a6b0
KVM: SVM: Get rid of x86_intercept_map::valid

By reserving 0 as an invalid x86_intercept_stage, we no longer
need to store a valid flag in x86_intercept_map.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/svm.c