conf: Introduce virDomainObjListAddObjLocked
conf: Introduce virDomainObjListAddObjLocked

Create a common helper to add an object to the locked domain
objlist hash tables and use it.

Signed-off-by: John Ferlan <87558058f6f829e5ec976c8ef960720af4ff9c7d@redhat.com>

nertpinx/libvirt,olafhering/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,eskultety/libvirt,libvirt/libvirt,fabianfreyer/libvirt,olafhering/libvirt,fabianfreyer/libvirt,crobinso/libvirt,andreabolognani/libvirt,crobinso/libvirt,zippy2/libvirt,jardasgit/libvirt,libvirt/libvirt,zippy2/libvirt,andreabolognani/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,eskultety/libvirt,eskultety/libvirt,zippy2/libvirt,jardasgit/libvirt,zippy2/libvirt,jfehlig/libvirt,libvirt/libvirt,jfehlig/libvirt,nertpinx/libvirt,nertpinx/libvirt,olafhering/libvirt,libvirt/libvirt,nertpinx/libvirt,jfehlig/libvirt,crobinso/libvirt,olafhering/libvirt,jardasgit/libvirt,nertpinx/libvirt,jardasgit/libvirt,andreabolognani/libvirt,crobinso/libvirt,jfehlig/libvirt,eskultety/libvirt,eskultety/libvirt