diff options
author | Avi Kivity <avi@qumranet.com> | 2007-02-19 13:37:46 +0100 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-03-04 10:12:39 +0100 |
commit | d27d4aca184ac0ca6b7e32caf79e1c2b91959be9 (patch) | |
tree | 048e9ea24b55ac63783cc6cc3495d0feb5de57d0 /drivers/kvm/paging_tmpl.h | |
parent | KVM: Move virtualization deactivation from CPU_DEAD state to CPU_DOWN_PREPARE (diff) | |
download | linux-d27d4aca184ac0ca6b7e32caf79e1c2b91959be9.tar.xz linux-d27d4aca184ac0ca6b7e32caf79e1c2b91959be9.zip |
KVM: Cosmetics
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/paging_tmpl.h')
-rw-r--r-- | drivers/kvm/paging_tmpl.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/kvm/paging_tmpl.h b/drivers/kvm/paging_tmpl.h index 6507ccb1ea2a..f3bcee904651 100644 --- a/drivers/kvm/paging_tmpl.h +++ b/drivers/kvm/paging_tmpl.h @@ -441,9 +441,8 @@ static int FNAME(page_fault)(struct kvm_vcpu *vcpu, gva_t addr, /* * mmio: emulate if accessible, otherwise its a guest fault. */ - if (is_io_pte(*shadow_pte)) { + if (is_io_pte(*shadow_pte)) return 1; - } ++kvm_stat.pf_fixed; kvm_mmu_audit(vcpu, "post page fault (fixed)"); |