808e16f conf: make virDomainControllerFindUnusedIndex() more generally usable

Authored and Committed by Laine Stump 7 years ago
    conf: make virDomainControllerFindUnusedIndex() more generally usable
    
    Make virDomainControllerFindUnusedIndex() a global function so that it
    can be used outside domain_conf.c (as well as higher up in
    domain_conf.c itself)/ Also make its DomainDef arg a const* so that
    functions which only have a const* to the domain can use it.
    
        
file modified
+2 -2
file modified
+1 -0
file modified
+1 -0