[libvirt PATCH 1/2] domain_conf: extract disk driver source bits to its own function