KVM: PPC: Pass EA to updating emulation ops
[deliverable/linux.git] / arch / powerpc / kvm / book3s_pr.c
index 7759053d391b87298a4888c1cbbb7463ee6e8431..158047fc951374611fe0e7b10cb4ea9ad2c23180 100644 (file)
@@ -351,6 +351,7 @@ int kvmppc_handle_pagefault(struct kvm_run *run, struct kvm_vcpu *vcpu,
                /* MMIO */
                vcpu->stat.mmio_exits++;
                vcpu->arch.paddr_accessed = pte.raddr;
+               vcpu->arch.vaddr_accessed = pte.eaddr;
                r = kvmppc_emulate_mmio(run, vcpu);
                if ( r == RESUME_HOST_NV )
                        r = RESUME_HOST;
This page took 0.02558 seconds and 5 git commands to generate.