summaryrefslogtreecommitdiffstats
path: root/xbzrle.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2014-06-17 23:10:30 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2014-06-18 16:58:37 +0200
commit4ef37e6907eaeeec3e0425b9e51a4b3918c194c7 (patch)
tree05a71a9892c20ccebcc6febecf939d85b170f42f /xbzrle.c
parent22010ce7f23236b970b40cc5c0cf0c7fe0588e2f (diff)
downloadhqemu-4ef37e6907eaeeec3e0425b9e51a4b3918c194c7.zip
hqemu-4ef37e6907eaeeec3e0425b9e51a4b3918c194c7.tar.gz
target-mips: get_physical_address: Add KVM awareness
MIPS KVM trap & emulate mode (which is currently the only supported mode) has to add an extra kseg0/kseg1 at 0x40000000 and an extra kseg2/kseg3 at 0x60000000. Take this into account in get_physical_address() so that debug memory access works. This is done by translating the address to a standard kseg0 or kseg2 address before doing the normal address translation. The real virtual address is still used for TLB lookups. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'xbzrle.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud