From nobody Mon Feb 9 08:10:38 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1644216134; cv=none; d=zohomail.com; s=zohoarc; b=guWT/sMBd7z+Ttvs6kBsTy1bRyxSkTYzrQXXahI11PANoYqrneNeKkurwJjmn2fM9I/deOvSYn4PA+PBn/LEI1bZjkuu0yRRLYaAN1NTTPr+YikNZZ7mfdgbPqAzKIKhD/ElPZhyqjjJ5MFdmugi724JWjpcSCYsLhKM3PW7j/Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1644216134; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=DK2mZf2XcCWtbckgaq35hrodV2t5uC1fp6yq02EjuJE=; b=LMvCIoB4mVxY4NrYkY1kw1vxMZVERrTFjZaf6UZlkmW2Cjf/zULa+a9nLhR1E6R1EYBwfOhwlaG72UYHgjlLE2NayVsAmq5TSobtpFOrQHGh4aAQEWCPXgDZMgECW1G/g0iprDI8fU3YZkwvJ0L2Lo1GOYaAJhYojUjZIaazgBA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1644216134503415.0016475973208; Sun, 6 Feb 2022 22:42:14 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.266408.460096 (Exim 4.92) (envelope-from ) id 1nGxil-0003AF-C2; Mon, 07 Feb 2022 06:41:55 +0000 Received: by outflank-mailman (output) from mailman id 266408.460096; Mon, 07 Feb 2022 06:41:55 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nGxil-00038C-2V; Mon, 07 Feb 2022 06:41:55 +0000 Received: by outflank-mailman (input) for mailman id 266408; Mon, 07 Feb 2022 06:41:54 +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 1nGxij-0002yJ-SV for xen-devel@lists.xenproject.org; Mon, 07 Feb 2022 06:41:53 +0000 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 08c8b7e2-87e1-11ec-8f75-fffcc8bd4f1a; Mon, 07 Feb 2022 07:41:52 +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-out1.suse.de (Postfix) with ESMTPS id 8E1D6210F5; Mon, 7 Feb 2022 06:41:52 +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 4A50313AE0; Mon, 7 Feb 2022 06:41:52 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id YL7LEDC/AGLDUgAAMHmgww (envelope-from ); Mon, 07 Feb 2022 06:41:52 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version 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: 08c8b7e2-87e1-11ec-8f75-fffcc8bd4f1a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1644216112; 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: in-reply-to:in-reply-to:references:references; bh=DK2mZf2XcCWtbckgaq35hrodV2t5uC1fp6yq02EjuJE=; b=feiArxLSwd7kwPdDhWHzHYxzZsQgEjqNh9Z2GKEOMBZO8t2zIQcNg53vq0PtJqsId1GTHU qXFv3Z4HdmY6EmGH+tmilK5tOBn4H8eu1uK9PHWlgVs3/ER+DgWts+cNcp3uyhoTZdpvVj 0bYmbENIzKBTsBzyxTVndFxKDNzIoA8= From: Juergen Gross To: xen-devel@lists.xenproject.org Cc: Juergen Gross , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu , Anthony PERARD Subject: [PATCH v2 3/5] tools/libs/toolcore: replace _xentoolcore_list.h with _xen_list.h Date: Mon, 7 Feb 2022 07:41:45 +0100 Message-Id: <20220207064147.9585-4-jgross@suse.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220207064147.9585-1-jgross@suse.com> References: <20220207064147.9585-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1644216146202100001 Content-Type: text/plain; charset="utf-8" Remove generating _xentoolcore_list.h and use the common _xen_list.h instead. Signed-off-by: Juergen Gross --- .gitignore | 1 - tools/include/xentoolcore_internal.h | 4 ++-- tools/libs/toolcore/Makefile | 8 -------- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 3f9d55ba87..afe78c787c 100644 --- a/.gitignore +++ b/.gitignore @@ -227,7 +227,6 @@ tools/hotplug/NetBSD/rc.d/xencommons tools/hotplug/NetBSD/rc.d/xendriverdomain tools/include/acpi tools/include/_libxl*.h -tools/include/_xentoolcore_list.h tools/include/xen/* tools/include/xen-xsm/* tools/include/xen-foreign/*.(c|h|size) diff --git a/tools/include/xentoolcore_internal.h b/tools/include/xentoolco= re_internal.h index 04f5848f09..deccefd612 100644 --- a/tools/include/xentoolcore_internal.h +++ b/tools/include/xentoolcore_internal.h @@ -27,7 +27,7 @@ #include =20 #include "xentoolcore.h" -#include "_xentoolcore_list.h" +#include "_xen_list.h" =20 /*---------- active handle registration ----------*/ =20 @@ -87,7 +87,7 @@ typedef int Xentoolcore__Restrict_Callback(Xentoolcore__A= ctive_Handle*, =20 struct Xentoolcore__Active_Handle { Xentoolcore__Restrict_Callback *restrict_callback; - XENTOOLCORE_LIST_ENTRY(Xentoolcore__Active_Handle) entry; + XEN_LIST_ENTRY(Xentoolcore__Active_Handle) entry; }; =20 void xentoolcore__register_active_handle(Xentoolcore__Active_Handle*); diff --git a/tools/libs/toolcore/Makefile b/tools/libs/toolcore/Makefile index ed4ae00694..9c013b2879 100644 --- a/tools/libs/toolcore/Makefile +++ b/tools/libs/toolcore/Makefile @@ -3,7 +3,6 @@ include $(XEN_ROOT)/tools/Rules.mk =20 MAJOR =3D 1 MINOR =3D 0 -AUTOINCS :=3D $(XEN_INCLUDE)/_xentoolcore_list.h =20 LIBHEADER :=3D xentoolcore.h =20 @@ -12,10 +11,3 @@ SRCS-y +=3D handlereg.c include $(XEN_ROOT)/tools/libs/libs.mk =20 PKG_CONFIG_DESC :=3D Central support for Xen Hypervisor userland libraries - -$(LIB_OBJS): $(AUTOINCS) -$(PIC_OBJS): $(AUTOINCS) - -$(XEN_INCLUDE)/_xentoolcore_list.h: $(XEN_INCLUDE)/xen-external/bsd-sys-qu= eue-h-seddery $(XEN_INCLUDE)/xen-external/bsd-sys-queue.h - $(PERL) $^ --prefix=3Dxentoolcore >$(notdir $@).new - $(call move-if-changed,$(notdir $@).new,$@) --=20 2.34.1