]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
KVM: PPC: Add papr_enabled flag
authorAlexander Graf <agraf@suse.de>
Mon, 8 Aug 2011 14:08:55 +0000 (16:08 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:52:19 +0000 (19:52 +0300)
commit9432ba6015371f186926cd62e2395718217a17a1
tree884240483921ed3514e0bff212cbad2c394636f8
parentdb507c300ed6ce6e9fc71d4e19975d5abe01a7de
KVM: PPC: Add papr_enabled flag

When running a PAPR guest, some things change. The privilege level drops
from hypervisor to supervisor, SDR1 gets treated differently and we interpret
hypercalls. For bisectability sake, add the flag now, but only enable it when
all the support code is there.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_host.h