]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: PPC: Add support for explicit HIOR setting
authorAlexander Graf <agraf@suse.de>
Wed, 14 Sep 2011 19:45:23 +0000 (21:45 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:41 +0000 (14:52 +0200)
commit1022fc3d3bfaca09d5d6bfcc93a168de16840814
treefee0d7dcceeb9704daf0bfc6b7e9a708f32b442e
parente24ed81fedd551e80378be62fa0b0532480ea7d4
KVM: PPC: Add support for explicit HIOR setting

Until now, we always set HIOR based on the PVR, but this is just wrong.
Instead, we should be setting HIOR explicitly, so user space can decide
what the initial HIOR value is - just like on real hardware.

We keep the old PVR based way around for backwards compatibility, but
once user space uses the SET_ONE_REG based method, we drop the PVR logic.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Documentation/virtual/kvm/api.txt
arch/powerpc/include/asm/kvm.h
arch/powerpc/include/asm/kvm_book3s.h
arch/powerpc/kvm/book3s_pr.c
arch/powerpc/kvm/powerpc.c
include/linux/kvm.h