]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: MMU: split reset_rsvds_bits_mask
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Wed, 5 Aug 2015 04:04:22 +0000 (12:04 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Aug 2015 10:47:23 +0000 (12:47 +0200)
commit6dc98b868bc5d44cd5fd9be2a35e3d87902e8818
tree3da11cb203a769e0efc9d0c5a86053da22e612e4
parenta0a64f50aac731d42125dd8581b9a31e4fdb0f75
KVM: MMU: split reset_rsvds_bits_mask

Since softmmu & AMD nested shadow page tables and guest page tables have
the same format, split reset_rsvds_bits_mask 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