da3bfc9 qemu_capabilities: Introduce virQEMUCapsCacheLookupDefault

Authored and Committed by Jiri Denemark 5 years ago
    qemu_capabilities: Introduce virQEMUCapsCacheLookupDefault
    
    virConnectGetDomainCapabilities needs to lookup QEMU capabilities
    matching a specified binary, architecture, virt type, and machine type
    while using default values when any of the parameters are not provided
    by the user. Let's extract the lookup code into
    virQEMUCapsCacheLookupDefault to make it reusable.
    
    Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
    Reviewed-by: Ján Tomko <jtomko@redhat.com>
    
        
file modified
+118 -0
file modified
+8 -0
file modified
+11 -75