3992ff1 network: new function networkGetActualType

Authored and Committed by Laine Stump 8 years ago
    network: new function networkGetActualType
    
    There are times when it's necessary to learn the actual type of a
    network connection before any resources have been allocated
    (e.g. during qemuProcessPrepareDomain()), but in the past it was
    necessary to call networkAllocateActualDevice() in order to have the
    actual type filled in.
    
    This new function returns the type of network that *will be* setup
    once it actually happens, but without making any changes on the host.
    
        
file modified
+72 -0
file modified
+5 -1