KVM: MMU: split reset_rsvds_bits_mask_ept
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Wed, 5 Aug 2015 04:04:23 +0000 (12:04 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Aug 2015 10:47:24 +0000 (12:47 +0200)
commit81b8eebbc3511bfa21520314b07988a875a4d066
treed54f72fbb220952aa8af25b61142562e641a9fe8
parent6dc98b868bc5d44cd5fd9be2a35e3d87902e8818
KVM: MMU: split reset_rsvds_bits_mask_ept

Since shadow ept page tables and Intel nested guest page tables have the
same format, split reset_rsvds_bits_mask_ept so that the logic can be
reused by later patches which check zero bits on sptes

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