]> git.baikalelectronics.ru Git - kernel.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)
commit9598c10e288aeacdad476107156ff3684a17bedb
tree3da11cb203a769e0efc9d0c5a86053da22e612e4
parenta4e92d3e69c0730af7fc1b5c6f926c1664981444
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