summaryrefslogtreecommitdiff
path: root/kernel/audit.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-07-13 14:27:09 +0300
committerAvi Kivity <avi@redhat.com>2010-08-02 06:40:45 +0300
commit0b3c933302262d83018dd5f69656bca9f28a0cd3 (patch)
tree809d6c97623ee87baa195ded38fe98a0a3df8638 /kernel/audit.h
parent39c8c672a18c52048343d7531dfb2dcf3431ee74 (diff)
KVM: MMU: Simplify spte fetch() function
Partition the function into three sections: - fetching indirect shadow pages (host_level > guest_level) - fetching direct shadow pages (page_level < host_level <= guest_level) - the final spte (page_level == host_level) Instead of the current spaghetti. A slight change from the original code is that we call validate_direct_spte() more often: previously we called it only for gw->level, now we also call it for lower levels. The change should have no effect. [xiao: fix regression caused by validate_direct_spte() called too late] Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions