KVM: MMU: introduce is_shadow_zero_bits_set()
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Wed, 5 Aug 2015 04:04:25 +0000 (12:04 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Aug 2015 10:47:25 +0000 (12:47 +0200)
commitd625b155d21bdedf7d289d422d73c644e2205624
tree21bcc608525335b444652a565e5f2242d7cac766
parentc258b62b264fdc469b6d3610a907708068145e3b
KVM: MMU: introduce is_shadow_zero_bits_set()

We have the same data struct to check reserved bits on guest page tables
and shadow page tables, split is_rsvd_bits_set() so that the logic can be
shared between these two paths

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c