b59bbdb conf: fix fromConfig argument to virDomainPCIAddressValidate()

Authored and Committed by Laine Stump 7 years ago
    conf: fix fromConfig argument to virDomainPCIAddressValidate()
    
    fromConfig should be true if the caller wants
    virDomainPCIAddressValidate() to loosen restrictions on its
    interpretation of the pciConnectFlags. In particular, either
    PCI_DEVICE or PCIE_DEVICE will be counted as equivalent to both, and
    HOTPLUG will be ignored. In a few cases where libvirt was manually
    overriding automatic address assignment, it was setting fromConfig to
    false when validating the hardcoded manual override. This patch
    changes those to fromConfig=true as a preemptive strike against any
    future bugs that might otherwise surface.
    
        
file modified
+1 -1