Message ID | 20220801012015.4902-1-faithilikerun@gmail.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org> 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 688AEC00140 for <qemu-devel@archiver.kernel.org>; Mon, 1 Aug 2022 01:22:27 +0000 (UTC) Received: from localhost ([::1]:42748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org>) id 1oIK8Y-0000og-7N for qemu-devel@archiver.kernel.org; Sun, 31 Jul 2022 21:22:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <faithilikerun@gmail.com>) id 1oIK6x-00083U-KW; Sun, 31 Jul 2022 21:20:48 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:34372) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <faithilikerun@gmail.com>) id 1oIK6v-0007RG-K6; Sun, 31 Jul 2022 21:20:47 -0400 Received: by mail-pf1-x429.google.com with SMTP id f28so1024327pfk.1; Sun, 31 Jul 2022 18:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=3vnwPUtdS0h6IN6fwVp10O/CfmppuNgZmfS9wzs/buA=; b=NzFVsb8EfMwq1EMitqHBgEj83Xbb09dDH6LJlezT7j0yfNQhK0Yy5sZT95/0FX4ckm /TJrpPN5AfgE3cwsEK7ie/dnoNLEY8ULcEe1G2IkoZ/7y9sZYi9pijz5AG5QVphwSwKH xcOpy353TrAKHlCo2bRXDyOGZzeK3qI7/4L6YJlHcPjg9qexFI/g/JXv9eA3SIDcgu3O YQVRxVTEMB6UV4TXPGO7VrVAgdK4jCJlyNyK98lIUhTzK6Fqbi2uKCM5s9bb5MNNs0LJ bnVesP5IX7ro27kd3pWKN8fllpFRFSgDV0SIqoTkTe3NfzR1n5uKxFNDfnUIXO0raXs6 lLHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=3vnwPUtdS0h6IN6fwVp10O/CfmppuNgZmfS9wzs/buA=; b=6p7RQaekWcWWIaQlJnUjGWXq6NLI1ABsVcBIW8nb10yspg702mQodajhV2nEqdNUMA f+8Qs/GA0NiWVY6Dp6ih0McT4qScEb9Acu++cjOB8iuzhERhsngmAiL6TpRgj2WBUF8B n1TywBPjVReL/VHT9gF7fqNBcq326/+FFf8DHjrfQaUDod6mLwtjwu9LK8ht3APCKGLS NsNHGv7bBZecHaRjafzthYbv6FU5qQDxxTOkVbi+qro34Sgnpa0mI4YJZpUduJWlhEC9 lBKMWwxrdAf0f+K1vuqfN+ErPJZUt5GrcSY2ubcE25ReNJMADb28NsHluvWQKor+KbFM cUqw== X-Gm-Message-State: AJIora+GIl3AVZUJ9zvg/lRSZ2kp9PRhT4uP9z9tVaiup8K+oi/n1dIU 31cucKoLZpHlMNfAQaok6fs0GnOK1z+fmAD+OY8= X-Google-Smtp-Source: AA6agR4b+ESKygrsF3w00Pos6yqmHBESZXjg7tP9NtBk7XLQDcuat/LrM9cdfFm3H+9QH8Zxi/nSQA== X-Received: by 2002:a17:902:988b:b0:16e:cdf5:aaea with SMTP id s11-20020a170902988b00b0016ecdf5aaeamr8348606plp.137.1659316831055; Sun, 31 Jul 2022 18:20:31 -0700 (PDT) Received: from localhost.localdomain ([123.147.246.222]) by smtp.gmail.com with ESMTPSA id 145-20020a621897000000b0052aaff953aesm7078074pfy.115.2022.07.31.18.20.24 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 31 Jul 2022 18:20:30 -0700 (PDT) From: Sam Li <faithilikerun@gmail.com> To: qemu-devel@nongnu.org Cc: damien.lemoal@opensource.wdc.com, dmitry.fomichev@wdc.com, hare@suse.de, stefanha@redhat.com, mst@redhat.com, armbru@redhat.com, qemu-block@nongnu.org, fam@euphon.net, kwolf@redhat.com, hreitz@redhat.com, eblake@redhat.com, Sam Li <faithilikerun@gmail.com> Subject: [RFC v5 00/11] Add support for zoned device Date: Mon, 1 Aug 2022 09:20:15 +0800 Message-Id: <20220801012015.4902-1-faithilikerun@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=faithilikerun@gmail.com; helo=mail-pf1-x429.google.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org> |
Series |
Add support for zoned device
|
expand
|
Hi Hannes, Damien, and Dmitry, This patch series introduces zoned_host_device for passing through host zoned storage devices. How can one host zoned storage device be split up for multiple VMs? For NVMe it may be possible to allocate multiple Namespaces on the device using management tools. Then Linux sees individual /dev/nvme0nX block device nodes and QEMU uses them with zoned_host_device. For other types of devices, can dm-linear create separate device-mapper targets? How do max open/active zones, etc work when multiple untrusted users are sharing a device? I'm asking because splitting up a single physical device for multiple VMs is a common virtualization use case that we should document. Thanks, Stefan