[libvirt] [PATCH v4 1/6] util: Add helper function to clean extra spaces