28257dc domain_conf: Introducde virDomainObjListRenameAddNew() & virDomainObjListRenameRemove()

3 files Authored by Tomas Meszaros 8 years ago, Committed by mprivozn 8 years ago,
    domain_conf: Introducde virDomainObjListRenameAddNew() & virDomainObjListRenameRemove()
    
    We just need to update the entry in the second hash table. Since commit 8728a56
    we have two hash tables for the domain list so that we can do O(1) lookup
    regardless of looking up by UUID or name. Since with renaming a domain UUID does
    not change, we only need to update the second hash table, where domains are
    referenced by their name.
    
    We will call both functions from the qemuDomainRename().
    
    Signed-off-by: Tomas Meszaros <exo@tty.sk>
    
        
file modified
+35 -0
file modified
+5 -0
file modified
+2 -0