]> git.baikalelectronics.ru Git - kernel.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)
commit35c98f258657122ef95ed5b692244ef25f4b669b
treefee0d7dcceeb9704daf0bfc6b7e9a708f32b442e
parentde1b910a2481e2ce53727250340a95e92e520d74
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