From patchwork Tue Nov 1 16:14:47 2022 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: 13027144 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 F0C2FC4332F for ; Tue, 1 Nov 2022 16:15:14 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.435064.688097 (Exim 4.92) (envelope-from ) id 1optuo-0000iI-PB; Tue, 01 Nov 2022 16:15:02 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 435064.688097; Tue, 01 Nov 2022 16:15:02 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1optuo-0000iB-Ls; Tue, 01 Nov 2022 16:15:02 +0000 Received: by outflank-mailman (input) for mailman id 435064; Tue, 01 Nov 2022 16:15:01 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1optun-0000i5-EW for xen-devel@lists.xenproject.org; Tue, 01 Nov 2022 16:15:01 +0000 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 55b01a07-5a00-11ed-8fd0-01056ac49cbb; Tue, 01 Nov 2022 17:15:00 +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 0596D1F8CA; Tue, 1 Nov 2022 16:15:00 +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 CA3621346F; Tue, 1 Nov 2022 16:14:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id c2X4LwNGYWPndgAAMHmgww (envelope-from ); Tue, 01 Nov 2022 16:14:59 +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: 55b01a07-5a00-11ed-8fd0-01056ac49cbb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1667319300; 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=3vvEwjmy3y2freXdh/Vxr98T44RB5swrhH94wA9YUTQ=; b=WEt0KZ68IRo5Lo00mV0sHSFbbeOhYgJsrJvmrKer9qNjr12hHIYf5mrhVtgCP1NvJIqWP+ VF4sEQFkK5C7+/9eDjd66o6dgXk/Zsr9gtsmlgSz6nrt5pSTjewC30JMQPetzYIm9AV3LT srxsWGCWMvoPoiILYurVA4RezMahSQ8= From: Juergen Gross To: xen-devel@lists.xenproject.org Cc: Juergen Gross , Wei Liu , Julien Grall , Anthony PERARD Subject: [PATCH 00/10] tools/xenstore: more cleanups Date: Tue, 1 Nov 2022 17:14:47 +0100 Message-Id: <20221101161457.8470-1-jgross@suse.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Some more cleanups of Xenstore. Based on top of the previous 2 Xenstore series "tools/xenstore: do some cleanup and fixes" and the accounting rework series (sorry for the cut off series header). Juergen Gross (10): tools/xenstore: verify command line parameters better tools/xenstore: do some cleanup of hashtable.c tools/xenstore: modify interface of create_hashtable() tools/xenstore: let hashtable_insert() return 0 on success tools/xenstore: make some write limit functions static tools/xenstore: switch write limiting to use millisecond time base tools/xenstore: remove stale TODO file tools/xenstore: remove unused events list tools/xenstore: remove support of file backed data base tools/xenstore: remove no longer needed functions from xs_lib.c tools/libs/store/xs.c | 20 ++ tools/xenstore/Makefile | 5 +- tools/xenstore/TODO | 10 - tools/xenstore/hashtable.c | 101 +++--- tools/xenstore/hashtable.h | 16 +- tools/xenstore/xenstore_client.c | 129 +++++++ tools/xenstore/xenstored_core.c | 51 +-- tools/xenstore/xenstored_core.h | 7 +- tools/xenstore/xenstored_domain.c | 458 ++++++++++++------------- tools/xenstore/xenstored_domain.h | 24 +- tools/xenstore/xenstored_transaction.c | 4 +- tools/xenstore/xenstored_watch.c | 5 - tools/xenstore/xs_lib.c | 138 -------- tools/xenstore/xs_lib.h | 17 - tools/xenstore/xs_tdb_dump.c | 86 ----- 15 files changed, 442 insertions(+), 629 deletions(-) delete mode 100644 tools/xenstore/TODO delete mode 100644 tools/xenstore/xs_tdb_dump.c