[libvirt] [PATCH v2 08/25] src/xenxs:Refactor code parsing OS related config