]> git.baikalelectronics.ru Git - kernel.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)
commit6159103256557c9c4df0dae7176c8b5e03973193
treedac48c9ea56f69f4d8b9759aa51349bad0f3abdc
parent95c2613669f59a11fe73188c1eed3b1819c004dc
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