]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: PPC: Add feature bitmap for magic page
authorAlexander Graf <agraf@suse.de>
Tue, 3 Aug 2010 09:32:56 +0000 (11:32 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:09 +0000 (10:52 +0200)
commit7508e16c9f2a20f7721d7bc47c33a7b34c873a2c
treedac48c9ea56f69f4d8b9759aa51349bad0f3abdc
parentcb24c50826e0722bffb0674f088954cd4980818b
KVM: PPC: Add feature bitmap for magic page

We will soon add SR PV support to the shared page, so we need some
infrastructure that allows the guest to query for features KVM exports.

This patch adds a second return value to the magic mapping that
indicated to the guest which features are available.

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