From mboxrd@z Thu Jan 1 00:00:00 1970 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 B7102C7EE22 for ; Thu, 11 May 2023 14:37:39 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.533431.830091 (Exim 4.92) (envelope-from ) id 1px7Q6-0003ct-9B; Thu, 11 May 2023 14:37:26 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 533431.830091; Thu, 11 May 2023 14:37:26 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1px7Q6-0003cm-6C; Thu, 11 May 2023 14:37:26 +0000 Received: by outflank-mailman (input) for mailman id 533431; Thu, 11 May 2023 14:37:24 +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 1px7Q4-0003Xv-JM for xen-devel@lists.xenproject.org; Thu, 11 May 2023 14:37:24 +0000 Received: from kylie.crudebyte.com (kylie.crudebyte.com [5.189.157.229]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 56457d17-f009-11ed-8611-37d641c3527e; Thu, 11 May 2023 16:37:21 +0200 (CEST) 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: 56457d17-f009-11ed-8611-37d641c3527e DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=crudebyte.com; s=kylie; h=Content-Type:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Content-ID:Content-Description; bh=ZvFzNgT8EWhTMGeJIh+BNbNw30pANCcOXAnUd2eArkQ=; b=WYpY4PnnYEJXSWyMQhw2u2WvHa pPT/dMcCgEMXDKZLvpPZSSTwSlaMbzaTHVIpG3GjoKYVMS26qIivqMsg7W0qaySl7DwzQO20alYpv 3JXaZV1W11VeMxEApEhg64edDAMkFIqJPGSkXEe35GX88YfQDsBMAxlBN0Yh6MSEl+BCcz6k7ii21 3zwut/j/xJgi0nQR3Q2VgWUlgIcrTvym8cvvJPC5GQgLGj03vYltU+mkegabM+zeS7vimHx5ZTtst f1J+Q2LiXpUgFUDkS3fw6gJxjp1uqCaGndWLdeobxGzw0SCbLVAw8iRWYd4rfPF1SgGEHQV/mPHHM rnF5rIWv8JzA3FEFtyGXqkLP7sXpVtbnmBcinrr+YAgly/WeHiQ7uqpoR0bgDRBH6w0AIHsvKyBkQ IDsb+ksmeHH2ApBF+i6zZEbC2G3LTRqZ3dN3ELT86RYJDBy52zSKAWH6FJVdFEQWRDozxvax7Ogyr tWcCNWVjIFjLOMoFdK+mu42R4MKaBSHWiOBxLoaSa2xETEE6NEuzqJGJCjLHrjv1OJ8GS/Aml20mN JZlDzIM+XZ+GBbYCEENQcN3YjtV2QnF0rCFKKit067BsI5tTPB1pOv+6ZhDMLkHsl5bdhNNjdvAsZ P+v4epzQqVo1mFiuXDdUDabPn4j2jQ/GXO2l0LlwY=; From: Christian Schoenebeck To: qemu-devel@nongnu.org Cc: Jason Andryuk , Greg Kurz , Stefano Stabellini , Anthony Perard , Paul Durrant , "open list:X86 Xen CPUs" Subject: Re: [PATCH] 9pfs/xen: Fix segfault on shutdown Date: Thu, 11 May 2023 16:37:01 +0200 Message-ID: <2110128.8IRXTbt6Kt@silver> In-Reply-To: <20230502143722.15613-1-jandryuk@gmail.com> References: <20230502143722.15613-1-jandryuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Tuesday, May 2, 2023 4:37:22 PM CEST Jason Andryuk wrote: > xen_9pfs_free can't use gnttabdev since it is already closed and NULL-ed > out when free is called. Do the teardown in _disconnect(). This > matches the setup done in _connect(). > > trace-events are also added for the XenDevOps functions. > > Signed-off-by: Jason Andryuk > --- > hw/9pfs/trace-events | 5 +++++ > hw/9pfs/xen-9p-backend.c | 36 +++++++++++++++++++++++------------- > 2 files changed, 28 insertions(+), 13 deletions(-) With aforementioned 2 minor changes, queued on 9p.next: https://github.com/cschoenebeck/qemu/commits/9p.next Thanks! Best regards, Christian Schoenebeck