[libvirt] [PATCH 15/24] src/xenxs: Refactor code formating memory config