KVM: PPC: Make software load/store return eaddr
authorAlexander Graf <agraf@suse.de>
Fri, 19 Feb 2010 10:00:38 +0000 (11:00 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:35:09 +0000 (12:35 +0300)
commit5467a97d0f0ac99d2db0281ce1762e85afe16da2
treef77e4a7acd17c225626a70a63c9c288854547c0c
parent71db4089361b9424314c41fcf92f63ce26263fcc
KVM: PPC: Make software load/store return eaddr

The Book3S KVM implementation contains some helper functions to load and store
data from and to virtual addresses.

Unfortunately, this helper used to keep the physical address it so nicely
found out for us to itself. So let's change that and make it return the
physical address it resolved.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_book3s.h
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/book3s_64_emulate.c