[libvirt] [PATCH 10/10] conf: extract disk geometry parsing code