commit | 56992ddbcc01fbaa47a1025c8faaf31870f82c61 | [log] [tgz] |
---|---|---|
author | Fuad Tabba <tabba@google.com> | Mon Apr 07 14:04:18 2025 +0000 |
committer | Fuad Tabba <tabba@google.com> | Mon Apr 07 14:41:15 2025 +0000 |
tree | c9b398671484eefdc247a393e7c5f72e7c6c1d03 | |
parent | 6958741659bf9c9bdf6fc944f816a670bd7b7b42 [diff] |
Make kvm__supports_vm_extension() fallback on kvm__supports_extension() Instead of failing, make kvm__supports_vm_extension() fallback onto using kvm__supports_extension() if the VM version isn't implemented. --- This is obviously a change in functionality. However, the only current user is for checking KVM_CAP_MSI_DEVID, which is a more recent capability than KVM_CAP_CHECK_EXTENSION_VM. Therefore, the behavior should remain the same for all intents and purposes.