commit | 663165a2862dca03581f76db07bdbc3a8f19fbc4 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Tue Apr 25 15:39:28 2017 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Fri Jun 09 11:16:47 2017 +0100 |
tree | 1010bbbc0fbf5e1e77636dbf571eac197588e759 | |
parent | 14421de9e076ac4f22dd2b2715bfc878986dc66a [diff] |
add kvm__supports_vm_extension() KVM capabilities can be per-VM, in this case the ioctl should be issued on the VM file descriptor, not on the system fd. Since this feature is guarded by a (system) capability itself, wrap the call into a function of its own. Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>