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.gnu.org (lists.gnu.org [209.51.188.17]) (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 CF3A5C74A5B for ; Thu, 23 Mar 2023 19:24:41 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfQXS-0005DI-Ap; Thu, 23 Mar 2023 15:23:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pfQXR-0005Cu-2U for qemu-devel@nongnu.org; Thu, 23 Mar 2023 15:23:53 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pfQXP-000774-Kn for qemu-devel@nongnu.org; Thu, 23 Mar 2023 15:23:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679599430; 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: in-reply-to:in-reply-to:references:references; bh=MCP6WQ/UnkFYQPbZ6UF1Z/GhxTZEQnAe4X6aMbwzzME=; b=TrZd5RQ97b8E5z6IJ0Cscid+7U6Noj4bvfoKIR6ayF2CSesZ5CAiGsJdt1lJhtEd0Kwz/6 kobizXnri2hh5uW9TPBHhYvIPjtKkb1xChumgc4RirurG9vBgB+MAbVp19UmbhvQmkVf/S Ufr35ogTpF0DQSGOi2zFE9zCHCI/X8k= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-495-NioI3iS0PmSuR7ioagn2BA-1; Thu, 23 Mar 2023 15:23:46 -0400 X-MC-Unique: NioI3iS0PmSuR7ioagn2BA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 20E13380673E; Thu, 23 Mar 2023 19:23:45 +0000 (UTC) Received: from localhost (unknown [10.39.192.106]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3AFE91121314; Thu, 23 Mar 2023 19:23:44 +0000 (UTC) Date: Thu, 23 Mar 2023 15:23:42 -0400 From: Stefan Hajnoczi To: Sam Li Cc: Matias =?iso-8859-1?Q?Bj=F8rling?= , qemu-devel@nongnu.org, Kevin Wolf , Raphael Norwitz , qemu-block@nongnu.org, damien.lemoal@opensource.wdc.com, kvm@vger.kernel.org, hare@suse.de, Paolo Bonzini , dmitry.fomichev@wdc.com, Hanna Reitz , Cornelia Huck , Markus Armbruster , Eric Blake , "Michael S. Tsirkin" Subject: Re: [PATCH v8 0/4] Add zoned storage emulation to virtio-blk driver Message-ID: <20230323192342.GB1459474@fedora> References: <20230323052828.6545-1-faithilikerun@gmail.com> <3983f8bc-5be2-bb3c-a5cd-647550f577a0@bjorling.me> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/Nz4WpxO4P2CBrIu" Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 Received-SPF: pass client-ip=170.10.129.124; envelope-from=stefanha@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org --/Nz4WpxO4P2CBrIu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 23, 2023 at 09:38:03PM +0800, Sam Li wrote: > Matias Bj=C3=B8rling =E4=BA=8E2023=E5=B9=B43=E6=9C=8823= =E6=97=A5=E5=91=A8=E5=9B=9B 21:26=E5=86=99=E9=81=93=EF=BC=9A > > On 23/03/2023 06.28, Sam Li wrote: > For the question, this patch is exposing the zoned interface through > virtio-blk only. It's a good suggestion to put a use case inside > documentation. I will add it in the subsequent patch. Regarding the state of other zoned devices: --device scsi-block should be able to pass through SCSI ZBC devices. QEMU supports NVMe ZNS emulation for testing, but cannot pass through zoned devices from the host yet. If you have an NVMe ZNS device you can use VFIO PCI pass the entire NVMe PCI adapter through to the guest. Stefan --/Nz4WpxO4P2CBrIu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmQcpz4ACgkQnKSrs4Gr c8ijrwf/esAH/6Y/U9E8/d79PGVht9b3OfY+uNJO2TfYnMH9D9GFL2PLe9G2kbZq ajSlVRrTWYvebCIURVNzXSRmHOJJGopgYvlqUSeNIKuc+w9SqXqQbY4ns4bthIDb rJkaZ4IP5zV2hFfEUDl2i00uvO9JeGKOW3y1sOm5GuU3BBm/WLHhNa6/ViPVOxJg t4kAyG5hQ40K1GidZHQxEWgpaOW9c4hQYRrNRkWBKEefA6yIhYimyhm1EttiGcQv Q5rz5mmKFlpQC4nnxvTdtAqUAQG8Lw8h9aOSYekDjC9zVK6wOysK1k0OhrTW8/nK vewRH4naYf8aKH62FlY4Ptef6NUiTQ== =Q0kO -----END PGP SIGNATURE----- --/Nz4WpxO4P2CBrIu--