[PATCH 2/3] KVM: Allow KVM_CHECK_EXTENSION on the vm fd

2014-07-14 Thread Alexander Graf
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

Re: [PATCH 2/3] KVM: Allow KVM_CHECK_EXTENSION on the vm fd

2014-07-14 Thread Alexander Graf
On 14.07.14 19:03, Alexander Graf wrote: 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

[PATCH 2/3] KVM: Allow KVM_CHECK_EXTENSION on the vm fd

2014-07-14 Thread Alexander Graf
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