mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-06-16 02:15:47 +00:00
kvm tools: Add kvm__has_cap() to check whether a cap is available on the host
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
@@ -81,4 +81,6 @@ static inline void *guest_flat_to_host(struct kvm *kvm, unsigned long offset)
|
||||
return kvm->ram_start + offset;
|
||||
}
|
||||
|
||||
bool kvm__has_cap(struct kvm *kvm, u32 cap);
|
||||
|
||||
#endif /* KVM__KVM_H */
|
||||
|
||||
Reference in New Issue
Block a user