Skip to content
Snippets Groups Projects
Commit 7d0a07fa authored by Alexander Graf's avatar Alexander Graf
Browse files

KVM: Add helper to run KVM_CHECK_EXTENSION on vm fd


We now can call KVM_CHECK_EXTENSION on the kvm fd or on the vm fd, whereas
the vm version is more accurate when it comes to PPC KVM.

Add a helper to make the vm version available that falls back to the non-vm
variant if the vm one is not available yet to stay compatible.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 4bc02e23
No related branches found
No related tags found
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