]> git.proxmox.com Git - mirror_qemu.git/commit - target-ppc/kvm.c
target-ppc: Get MMU state on register sync
authorAlexander Graf <agraf@suse.de>
Wed, 2 Dec 2009 22:19:47 +0000 (23:19 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 3 Dec 2009 19:10:54 +0000 (20:10 +0100)
commitba5e50908c66751b2c387ece023b796be2563c47
tree7768bcc798b13d8219c6ac40f59ab7e98004d00b
parentfeb9e61285df74b64a7ed63f7138e906ed55f083
target-ppc: Get MMU state on register sync

While x86 only needs to sync cr0-4 to know all about its MMU state and enable
qemu to resolve virtual to physical addresses, we need to sync all of the
segment registers on PPC to know which mapping we're in.

So let's grab the segment register contents to be able to use the "x" monitor
command and also enable the gdbstub to resolve virtual addresses.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-ppc/kvm.c