]> git.proxmox.com Git - qemu.git/commit
KVM: PPC: Use HIOR setting for -M pseries with PR KVM
authorAlexander Graf <agraf@suse.de>
Wed, 14 Sep 2011 19:38:45 +0000 (21:38 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 6 Oct 2011 07:48:08 +0000 (09:48 +0200)
commit94135e813c14bac3f967e6b5aa35b9d617737e68
treed928774802ab2301ded670656b41f6d8ec4cdcda
parent9d4e4f8cbc29a4d684268f16542c8e5431530113
KVM: PPC: Use HIOR setting for -M pseries with PR KVM

When running with PR KVM, we need to set HIOR directly. Thankfully there
is now a new interface to set registers individually so we can just use that
and poke HIOR into the guest vcpu's HIOR register.

While at it, this also sets SDR1 because -M pseries requires it to run.

With this patch, -M pseries works properly with PR KVM.

Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/kvm.c