[libvirt] [PATCH 2/5] src/xenconfig: wrap common parsing code