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)
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>

No differences found