From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEDvn-0008US-Ja for qemu-devel@nongnu.org; Fri, 14 Feb 2014 03:15:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEDvh-0001YM-9O for qemu-devel@nongnu.org; Fri, 14 Feb 2014 03:15:31 -0500 From: Alexander Graf Date: Fri, 14 Feb 2014 09:15:21 +0100 Message-Id: <1392365721-41142-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH] PPC: KVM: Add missing address space to ldl_phys helper List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org We now have to pass an address space to our _phys helpers. During the transition apparently the EPR exit path missed out, so let's put it there. Signed-off-by: Alexander Graf --- target-ppc/kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c index 015ca82..84aa4e4 100644 --- a/target-ppc/kvm.c +++ b/target-ppc/kvm.c @@ -1232,7 +1232,7 @@ int kvm_arch_handle_exit(CPUState *cs, struct kvm_run *run) #endif case KVM_EXIT_EPR: DPRINTF("handle epr\n"); - run->epr.epr = ldl_phys(env->mpic_iack); + run->epr.epr = ldl_phys(cs->as, env->mpic_iack); ret = 0; break; case KVM_EXIT_WATCHDOG: -- 1.8.1.4