[libvirt] [PATCH v2 02/10] conf: consolidate disk def allocation