]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30eee395e94b393e81b0186a942979036dc7cd81
tree21bcc608525335b444652a565e5f2242d7cac766
parentd14c3f5ccf20b4b479667f128bd31eb270f47e3c
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