diff options
author | Avi Kivity <avi@qumranet.com> | 2007-02-19 12:37:46 (GMT) |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-03-04 09:12:39 (GMT) |
commit | d27d4aca184ac0ca6b7e32caf79e1c2b91959be9 (patch) | |
tree | 048e9ea24b55ac63783cc6cc3495d0feb5de57d0 /drivers/kvm/paging_tmpl.h | |
parent | 43934a38d7cb39ff33baedc7f2c40a2a891116fa (diff) | |
download | linux-fsl-qoriq-d27d4aca184ac0ca6b7e32caf79e1c2b91959be9.tar.xz |
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 6507ccb..f3bcee9 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)"); |