targe-ppc: Sync CPU state for KVM
authorAlexander Graf <agraf@suse.de>
Wed, 2 Dec 2009 22:20:29 +0000 (23:20 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 3 Dec 2009 19:20:43 +0000 (20:20 +0100)
commit2c0e6426faedb901a9ff7bce52d877527b32a536
tree838bbe42af7ccdde77dbdf97db123ee49db969fc
parent287cb4659b9aa16d57758bea501d9523de594d7e
targe-ppc: Sync CPU state for KVM

Some recent change made PPC guests always start at address 0x0 because env
isn't synced to kvm_state on first bootup.

I'm not sure if this is the correct bugfix, but at least it makes PPC boot
again with KVM enabled.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/ppc_newworld.c
hw/ppc_oldworld.c