KVM: Allow KVM_CHECK_EXTENSION on the vm fd
authorAlexander Graf <agraf@suse.de>
Mon, 14 Jul 2014 16:33:08 +0000 (18:33 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 13:23:17 +0000 (15:23 +0200)
commit92b591a4c46b103ebd3fc0d03a084e1efd331253
treec42fdfa42d3ed67eb530977768d6f614024815ec
parent784aa3d7fb6f729c06d5836c9d9569f58e4d05ae
KVM: Allow KVM_CHECK_EXTENSION on the vm fd

The KVM_CHECK_EXTENSION is only available on the kvm fd today. Unfortunately
on PPC some of the capabilities change depending on the way a VM was created.

So instead we need a way to expose capabilities as VM ioctl, so that we can
see which VM type we're using (HV or PR). To enable this, add the
KVM_CHECK_EXTENSION ioctl to our vm ioctl portfolio.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virtual/kvm/api.txt
include/uapi/linux/kvm.h
virt/kvm/kvm_main.c
This page took 0.026346 seconds and 5 git commands to generate.