KVM: Add support for enabling capabilities per-vcpu
authorAlexander Graf <agraf@suse.de>
Wed, 24 Mar 2010 20:48:29 +0000 (21:48 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:17:09 +0000 (12:17 +0300)
commit71fbfd5f38f73515f1516a68fbe04dba198b70f0
tree653626126cef565890652f83f4eba7f376642709
parentca7f4203b9b66e12d0d9968ff7dfe781f3a9695a
KVM: Add support for enabling capabilities per-vcpu

Some times we don't want all capabilities to be available to all
our vcpus. One example for that is the OSI interface, implemented
in the next patch.

In order to have a generic mechanism in how to enable capabilities
individually, this patch introduces a new ioctl that can be used
for this purpose. That way features we don't want in all guests or
userspace configurations can just not be enabled and we're good.

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