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