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