From nobody Mon Feb 9 07:56:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1579676380; cv=none; d=zohomail.com; s=zohoarc; b=kFvgWkTIMgKkdBYaEqZsDjWBFjFxNpFR39x50y8sSESxW+ekaUmY82q7HzlpsJH6c+iFAMADlPOCCOLXQ8wPUmUNQIxKRT2X1B6BllSdbC5jsLH6ifX61OWkMcEjQPj9/dR/ccgPq7c8KFBFn0t2Dsxil9ewqUFmFNGuIPKqV7Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1579676380; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=WBcIJ+XtEg+ynI5J149ubW51ZuYdwReRoLvMT6MynBM=; b=bOAKvRzctwN0bTnfSV3pFnxOcuDsbMdjNbNiBMK/Bh1i46JP2rK8AEbUcurzS2NTXpy3IG+mpFcgqU1d7pKtfXTfBLQkc1czd37nrg3COc5/unBgKh5bb/XRhfPWZlYldRFjPzgHzcrzk6rNhMitt0TubOOhd0b8jaPVrZYSM50= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 157967638022290.38807594486218; Tue, 21 Jan 2020 22:59:40 -0800 (PST) Received: from localhost ([::1]:37664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iu9zG-0008JO-I6 for importer@patchew.org; Wed, 22 Jan 2020 01:59:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36166) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iu9qQ-0004hf-5N for qemu-devel@nongnu.org; Wed, 22 Jan 2020 01:50:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iu9qP-00085F-0M for qemu-devel@nongnu.org; Wed, 22 Jan 2020 01:50:30 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:28135 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iu9qO-00084R-Q8 for qemu-devel@nongnu.org; Wed, 22 Jan 2020 01:50:28 -0500 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-245-NrMUa8CyOhKLtK0YiKxmIg-1; Wed, 22 Jan 2020 01:50:23 -0500 Received: by mail-wm1-f71.google.com with SMTP id 18so1657700wmp.0 for ; Tue, 21 Jan 2020 22:50:23 -0800 (PST) Received: from redhat.com (bzq-79-176-0-156.red.bezeqint.net. [79.176.0.156]) by smtp.gmail.com with ESMTPSA id g2sm55877810wrw.76.2020.01.21.22.50.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jan 2020 22:50:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579675827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WBcIJ+XtEg+ynI5J149ubW51ZuYdwReRoLvMT6MynBM=; b=dYf8RSbDOy632XLLONucymBeaYGfti5k3ZbXSrhcbLgIEQjcaLyOG4mLtb/YI1/54D7ALO u48zdnAjrG8L1nxwK/hyGPvjRizTrGyUAjvzmHRrrwP5+18geoEda22SZWK4rkCh7Hqt3B 69PkwkmNyPDAhEFE1vtX67Aya0VDzAE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=crW7LUnM5y+vbTajSaV+13MSOoh5cZCcUuqLsKZn8gg=; b=Im5Hk4eMduQNqK63iPH8wVMfMPLyq0YxBKe/ppJSDMnCMV+4gMjsg8igevN41wbXbd usttl8C1THq5EDOdqfxk47q66SEf88JY3qj0ADcn0A6BA8fnnjpDdMCgbWbJU84j6AnF WAxMuBQbTqGLCZTEUl7ESmZUp83o+mo2d/qUoTbSgeP7ijzkMu39XEpV/xPbyMEN7chL 8GcWPV9ye2w6DoBSTW8TtCx0hPMDOS8nM0E93Mzc7jIzu3E9Ft/hJHnGy7gq1f019L19 nEWqmEy891lti3k/qiOlV4Kmijn0DbLXGPOg5iIC8WyizPYXbhXdSCBungzS2JiAKaXe e3vg== X-Gm-Message-State: APjAAAWvs4g4UgL7mGqkBTN/MHVnjm/UgJ5AcHjfoQt94LIK9rsiOT/6 08d5WmScBK7smMXDI+f18GnTy6fu5+fObUrfemjPe/3qUC3swi2PG6dRiB8OQxxAouSdfauQZ06 XR+SjzzZfEGWCYCE= X-Received: by 2002:a1c:1fd0:: with SMTP id f199mr1140154wmf.113.1579675822565; Tue, 21 Jan 2020 22:50:22 -0800 (PST) X-Google-Smtp-Source: APXvYqylqNhmgy8OVwow7xFMvLaWSzp3Mr254uSpCFDkAC+WWb4R1DohOOOHf2Z8VW1oIa6k613c1A== X-Received: by 2002:a1c:1fd0:: with SMTP id f199mr1140135wmf.113.1579675822358; Tue, 21 Jan 2020 22:50:22 -0800 (PST) Date: Wed, 22 Jan 2020 01:50:20 -0500 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Subject: [PULL v2 11/17] virtio-9p-device: convert to new virtio_delete_queue Message-ID: <20200122064907.512501-12-mst@redhat.com> References: <20200122064907.512501-1-mst@redhat.com> MIME-Version: 1.0 In-Reply-To: <20200122064907.512501-1-mst@redhat.com> X-Mailer: git-send-email 2.24.1.751.gd10ce2899c X-Mutt-Fcc: =sent X-MC-Unique: NrMUa8CyOhKLtK0YiKxmIg-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.81 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Christian Schoenebeck , Pan Nengyuan , Greg Kurz Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Pan Nengyuan Use virtio_delete_queue to make it more clear. Signed-off-by: Pan Nengyuan Message-Id: <20200117060927.51996-3-pannengyuan@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Acked-by: Christian Schoenebeck --- hw/9pfs/virtio-9p-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c index ba35892940..1d1c50409c 100644 --- a/hw/9pfs/virtio-9p-device.c +++ b/hw/9pfs/virtio-9p-device.c @@ -218,7 +218,7 @@ static void virtio_9p_device_unrealize(DeviceState *dev= , Error **errp) V9fsVirtioState *v =3D VIRTIO_9P(dev); V9fsState *s =3D &v->state; =20 - virtio_del_queue(vdev, 0); + virtio_delete_queue(v->vq); virtio_cleanup(vdev); v9fs_device_unrealize_common(s, errp); } --=20 MST