add kvm__check_vm_capability
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.
Signed-off-by:
Andre Przywara <andre.przywara@arm.com>
Loading
Please register or sign in to comment