Skip to content
Commit 8345dc69 authored by Andre Przywara's avatar Andre Przywara
Browse files

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's avatarAndre Przywara <andre.przywara@arm.com>
parent 2f51bc04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment