From nobody Sun May 5 06:30:15 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1564428663; cv=none; d=zoho.com; s=zohoarc; b=T3WF4XKKmxTXv8aeOmluhtyIGu8qyfC0z9DqV/bVc//qPtBYDC9RVmDyjpOWCJaclw0vUJJZi2SlozRtlYjE2i+DPbNQjxvjjp/oqUelXDxTUX10/ixN803XNvD38nwm7dYGNfaGZxqmYmxiXeqAbsOw2hkkB2/VxGlbZvUJbyo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564428663; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=fuXZeoz+rnQ+ID6TEAF/M5bTKYI2bndr5BmhqDEoi54=; b=RFTA9xKe6+09egjBj1mlH/P4+SbHP/HMJvxEenUwkfHUplxKjxdCcx4rSYo4BCWhfXLSz9NrGm2SUGdxiUp9Q/FPZnOwP3gpWJu2AwSmtamHy6Fn225wFFUM68BMIkfFC6mbqKXNM2WNJZSYo8jpKth/K+gRaJ287ukRETHoN0E= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 156442866349922.57387829988693; Mon, 29 Jul 2019 12:31:03 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hsBKy-0005RC-JW; Mon, 29 Jul 2019 19:29:36 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hsBKx-0005R6-DW for xen-devel@lists.xenproject.org; Mon, 29 Jul 2019 19:29:35 +0000 Received: from esa3.hc3370-68.iphmx.com (unknown [216.71.145.155]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 2e7424e6-b237-11e9-ac6d-af77c831acd4; Mon, 29 Jul 2019 19:29:29 +0000 (UTC) X-Inumbo-ID: 2e7424e6-b237-11e9-ac6d-af77c831acd4 Authentication-Results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=igor.druzhinin@citrix.com; spf=Pass smtp.mailfrom=igor.druzhinin@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: None (esa3.hc3370-68.iphmx.com: no sender authenticity information available from domain of igor.druzhinin@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa3.hc3370-68.iphmx.com; envelope-from="igor.druzhinin@citrix.com"; x-sender="igor.druzhinin@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa3.hc3370-68.iphmx.com: domain of igor.druzhinin@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa3.hc3370-68.iphmx.com; envelope-from="igor.druzhinin@citrix.com"; x-sender="igor.druzhinin@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa3.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa3.hc3370-68.iphmx.com; envelope-from="igor.druzhinin@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: xIYHDh8MB8rA1+hPyKK/RDS/nhLVT3ciaqFWpLzUvKzl6Oo6M4xdlyZvymW9Fz50CM2iIO+60C bzSjH2cFqrgR3JVUMUv5lbA1BZo9B1cnw5C+MuA69cIN66B6DO9DyVRHJv2r3oBpEevAuytmxL 0tZ/LGmUT6U13dU4fTxoXeADQ+7ZcxYysGTVA30sc1dAQQrzQTSUQBHNPY2Yu8wwoFptNakPrq vWxO4O3pE931o9bSlTUfCaGtmHnInO84fv5GvhFz4PGezkRAY01jb7xq/9eMlQETwb1izSwR4f 36k= X-SBRS: 2.7 X-MesageID: 3591051 X-Ironport-Server: esa3.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.64,324,1559534400"; d="scan'208";a="3591051" From: Igor Druzhinin To: , Date: Mon, 29 Jul 2019 20:29:23 +0100 Message-ID: <1564428563-1006-1-git-send-email-igor.druzhinin@citrix.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH] xen: cleanup IOREQ server on exit X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: anthony.perard@citrix.com, Igor Druzhinin , sstabellini@kernel.org, paul.durrant@citrix.com, mst@redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Device model is supposed to destroy IOREQ server for itself. Signed-off-by: Igor Druzhinin Acked-by: Paul Durrant --- hw/i386/xen/xen-hvm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/i386/xen/xen-hvm.c b/hw/i386/xen/xen-hvm.c index e8e79e0..30a5948 100644 --- a/hw/i386/xen/xen-hvm.c +++ b/hw/i386/xen/xen-hvm.c @@ -1242,6 +1242,8 @@ static void xen_exit_notifier(Notifier *n, void *data) { XenIOState *state =3D container_of(n, XenIOState, exit); =20 + xen_destroy_ioreq_server(xen_domid, state->ioservid); + xenevtchn_close(state->xce_handle); xs_daemon_close(state->xenstore); } --=20 2.7.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel