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.
1 file changed