From nobody Mon Feb 9 10:28:18 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=1642577338; cv=none; d=zohomail.com; s=zohoarc; b=Zj5lXXgYu+gYxJR+nPtRA/H+KtjAVQQrn5bLEmZqxzz/WI01264N2JUIDKnsWcixryUtJ+0Xp/nk+KtjigEpm5w9OWO1A9aX+QqvJW7sl4kUXzOlg/kyfIPDPiWuYM8Gs2TLrp+XuvSFZiU6Exd4vfwdsvnOfZPww80OrvPohxw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642577338; 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=IsvRZQmjV7CnvRfLpi5YfUDyG/LXLUAroV6J520N8oI=; b=R5tlqjIUnFmgGIVZA9qtFuSZxjNOA2kxe+VEzElgS14rXG3zveuAMubt4Uz0/7kJzbsysYtFq5wFxMHTfzCcUVpdCx0xVptWA2I9nPOcL9ZHtumaLYT09fad0aOZ1cc0PgaN9VUrUghOLQGzClWaN4KIvuRKYkxkL85dmzV+gwk= 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 1642577338821533.8907463147141; Tue, 18 Jan 2022 23:28:58 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.258727.445921 (Exim 4.92) (envelope-from ) id 1nA5OY-0003h5-I3; Wed, 19 Jan 2022 07:28:38 +0000 Received: by outflank-mailman (output) from mailman id 258727.445921; Wed, 19 Jan 2022 07:28:38 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nA5OY-0003fV-Cb; Wed, 19 Jan 2022 07:28:38 +0000 Received: by outflank-mailman (input) for mailman id 258727; Wed, 19 Jan 2022 07:28:37 +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 1nA5OW-0003Y6-Uf for xen-devel@lists.xenproject.org; Wed, 19 Jan 2022 07:28:36 +0000 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 68f5772c-78f9-11ec-9bbc-9dff3e4ee8c5; Wed, 19 Jan 2022 08:28:35 +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 5D97E218A9; Wed, 19 Jan 2022 07:28:34 +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 3BEB313B28; Wed, 19 Jan 2022 07:28:34 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id uD16DaK952EyZQAAMHmgww (envelope-from ); Wed, 19 Jan 2022 07:28:34 +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: 68f5772c-78f9-11ec-9bbc-9dff3e4ee8c5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1642577314; 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=IsvRZQmjV7CnvRfLpi5YfUDyG/LXLUAroV6J520N8oI=; b=Cv5vnxnkQ0OvUxrwzCEFGs/LGsUTgjV1zPZstuhlMr3TAXv8/2eq9OTzLfeoBy+Z2849q4 zFBah217L23cMfHr6+0n7hE7HWCgu7gPOJlT2q3bFcdpDahcTjd6ZSPMo5uzGQID1nIGBI HNWH+PhyNoAHw9gjS301f0MNZaCtOgA= From: Juergen Gross To: xen-devel@lists.xenproject.org Cc: Juergen Gross , Wei Liu , Anthony PERARD Subject: [PATCH v2 2/3] tools/libs/evtchn: remove old mini-os callback Date: Wed, 19 Jan 2022 08:28:22 +0100 Message-Id: <20220119072823.21025-3-jgross@suse.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220119072823.21025-1-jgross@suse.com> References: <20220119072823.21025-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1642577341064100001 Content-Type: text/plain; charset="utf-8" It is possible now to delete minios_evtchn_close_fd() and the extern declaration of event_queue. Signed-off-by: Juergen Gross --- V2: - rebase --- tools/libs/evtchn/minios.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tools/libs/evtchn/minios.c b/tools/libs/evtchn/minios.c index ee3da9f8fe..30f98bc7e4 100644 --- a/tools/libs/evtchn/minios.c +++ b/tools/libs/evtchn/minios.c @@ -47,10 +47,6 @@ struct port_info { bool bound; }; =20 -extern struct wait_queue_head event_queue; - -void minios_evtchn_close_fd(int fd); - /* XXX Note: This is not threadsafe */ static struct port_info *port_alloc(xenevtchn_handle *xce) { @@ -152,13 +148,6 @@ int osdep_evtchn_restrict(xenevtchn_handle *xce, domid= _t domid) return -1; } =20 -void minios_evtchn_close_fd(int fd) -{ - struct file *file =3D get_file_from_fd(fd); - - evtchn_close_fd(file); -} - int xenevtchn_notify(xenevtchn_handle *xce, evtchn_port_t port) { int ret; --=20 2.31.1