commit | a357bd229cdaf37a41798d238ab50b34c71dd0d6 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Tue Jul 13 14:27:07 2010 +0300 |
committer | Avi Kivity <avi@redhat.com> | Mon Aug 02 06:40:43 2010 +0300 |
tree | 0a2801b53c7df2c8494bc5c572574cb29ad4aeee | |
parent | a3aa51cfaafe9179add88db20506ccb07e030b47 [diff] |
KVM: MMU: Add validate_direct_spte() helper Add a helper to verify that a direct shadow page is valid wrt the required access permissions; drop the page if it is not valid. Reviewed-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>