From patchwork Wed Mar 22 07:34:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?SsO8cmdlbiBHcm/Dnw==?= X-Patchwork-Id: 13183641 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3FF78C6FD1C for ; Wed, 22 Mar 2023 07:35:13 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.513126.793673 (Exim 4.92) (envelope-from ) id 1peszq-00057G-6Y; Wed, 22 Mar 2023 07:34:58 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 513126.793673; Wed, 22 Mar 2023 07:34:58 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1peszq-000579-3q; Wed, 22 Mar 2023 07:34:58 +0000 Received: by outflank-mailman (input) for mailman id 513126; Wed, 22 Mar 2023 07:34:56 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1peszo-000573-Rn for xen-devel@lists.xenproject.org; Wed, 22 Mar 2023 07:34:56 +0000 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 0ab3a617-c884-11ed-85db-49a42c6b2330; Wed, 22 Mar 2023 08:34:56 +0100 (CET) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id AEB4A20AD8; Wed, 22 Mar 2023 07:34:55 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 798C813416; Wed, 22 Mar 2023 07:34:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id kWoDHJ+vGmSkDAAAMHmgww (envelope-from ); Wed, 22 Mar 2023 07:34:55 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 0ab3a617-c884-11ed-85db-49a42c6b2330 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1679470495; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=7IUEaIWBLvz0fNCrqehVsUMPfBwf2mxSCzt4YFuTyNM=; b=Iz/CVyNAu8BmKFLEeI8skU0OhuAajQWAoh7kqmOU8QJPy9ANioO+dNF+BHKL4NF2sS8b3S SDmGLpRrA2F5pMp6M0aWGMZL6LGeqo4Rlxza/dTfVZvSiNy+9VykRgGSH9n40i3sh3DE8H BnC8qRorS/H79jn6pJn5Tr6sEQFXqA8= From: Juergen Gross To: xen-devel@lists.xenproject.org Cc: Juergen Gross , Wei Liu , Anthony PERARD Subject: [PATCH v2 0/3] tools/xl: small cleanup of parsing code Date: Wed, 22 Mar 2023 08:34:50 +0100 Message-Id: <20230322073453.7853-1-jgross@suse.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 3 small patches cleaning up the parsing code in xl a little bit. Changes in V2: - added patch 2 - addressed comments Juergen Gross (3): tools/xl: allow split_string_into_pair() to trim values tools/xl: make split_string_into_pair() more usable tools/xl: rework p9 config parsing tools/xl/xl_parse.c | 127 +++++++++++++++++++++----------------------- tools/xl/xl_parse.h | 4 +- 2 files changed, 64 insertions(+), 67 deletions(-)