From: Xiao Guangrong Date: Wed, 5 Aug 2015 04:04:24 +0000 (+0800) Subject: KVM: MMU: introduce the framework to check zero bits on sptes X-Git-Tag: omap-for-v4.3/fixes-merge-window~47^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c258b62b264fdc469b6d3610a907708068145e3b;p=pandora-kernel.git KVM: MMU: introduce the framework to check zero bits on sptes We have abstracted the data struct and functions which are used to check reserved bit on guest page tables, now we extend the logic to check zero bits on shadow page tables The zero bits on sptes include not only reserved bits on hardware but also the bits that SPTEs willnever use. For example, shadow pages will never use GB pages unless the guest uses them too. Signed-off-by: Xiao Guangrong Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed