From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796377113; b=avcrA3xsjRtYYD0q9yuxKLD9pwBwnfX7QFlMFpFetQ5OP564w9l5yBySEYvmXdGl43HI ROAu8rVMOgIXBFLIrcwsAE01QiYW+L1SFp1q9hCck0pqxX7nxMxjm5mt82I0LTH94UNeq ZAaD6WGwN7UjbOA3mkjMkxBXgPdjB66FM5GJVYMMfee/DWGi9UQzworsQ3AUbEPJlKCZY 5ryGUnmg8sIhSSKND4gR8wj7a+W6/0yYeioQKDQKI+SybQQb/oSXtSFh0CmNeSPVvGfmJ QHp/+iigI3RgZ6eG0WXcMnU4ZkOlv/PAYvtpkFP8fhTQXRZZ//rgoe2zPhIo+CwxKpA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796377113; h=DMARC-Filter:DKIM-Signature:X-MC-Rep:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:Received:From:To:Cc:Subject:Date: Message-ID:MIME-Version:X-Scanned-By:X-Mimecast-Spam-Score: X-Mimecast-MFC-PROC-ID:X-Mimecast-Originator: Content-Transfer-Encoding:content-type; bh=o4JTejhbqKIiy30ePn/02i00A+cbkxZLc0qkBu1QI94=; b=2/IYGagyi35T2ZYdSwdyVLAQIPi3dNKqbnBeslftJuApJsnQWjLbGH3+3QNy5A7ajjlL eC0rjhlVat51XMsl8+7UpD5JdUzxhkfFyXuax1H4bCTak1LUdxAX1Wmg7igZEcB9tURkN XBHdgxEV+QoDdPyyzePJcbonQsRc71gRpY8xb1P8MhsFsqQp+tIQZjuVTw99SRgGH1eJn e6D5SsqYNS8EY0PViYNd9mW1WMBzYF2EmprCOjLd8q0aX3J9UKct1R+cWMoMp+IZDjn1I AreBnql0DXqeJbXzZJ5BbvsbuC01dmcbWU4qcxp02Ejg6Trk4ybSqsQ9aDC3oW+oosQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=QyjOexhM; arc=none smtp.remote-ip=170.10.133.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B29D606A322 for ; Fri, 4 Dec 2026 09:38:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2B29D606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=QyjOexhM DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1796377113; 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; bh=o4JTejhbqKIiy30ePn/02i00A+cbkxZLc0qkBu1QI94=; b=QyjOexhMPbpgXJxVFTsklo3uc2klvSJ5fqOnRCySVbbJ7qFzeI6KrYL2nlqUDKrAuPW5LO /EBjImfotewMLHij0cIaLWFreoai/V3ZAs9jvYaMhEqX6SonsK60x8Lk8YzoM+Jo1hHMyy wfHW5Y35I/K7OgvSKVmosrEgdPJETWw= X-MC-Rep: binary re single Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-672-tdnVs8DrPI69IePZK40OUA-1; Fri, 4 Dec 2026 09:38:30 +0000 X-MC-Unique: tdnVs8DrPI69IePZK40OUA-1 X-Mimecast-MFC-AGG-ID: tdnVs8DrPI69IePZK40OUA_1796377109 Received: from mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.95]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 50844188CDA9 for ; Fri, 4 Dec 2026 09:38:29 +0000 (UTC) Received: from merkur.fritz.box (unknown [10.44.48.9]) by mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 26583B99; Fri, 4 Dec 2026 09:38:26 +0000 (UTC) From: Kevin Wolf To: virtio-comment@lists.linux.dev Cc: kwolf@redhat.com, rjones@redhat.com, stefanha@redhat.com, mst@redhat.com, cohuck@redhat.com Subject: [PATCH 0/1] virtio-blk: Support extended device identifiers Date: Fri, 4 Dec 2026 10:38:03 +0100 Message-ID: <20261204093804.16684-1-kwolf@redhat.com> X-Mailing-List: virtio-comment@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.6 on 10.30.177.95 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: mLoLQON_80oQD8eUFXD9ytxwUPY8z2R8iREHz7P8P54_1796377109 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true A while ago, Richard Jones proposed a spec change to increase the length of the virtio-blk device identifier. He since abandoned that series, but the requirement to be able to convert VMs from a disk type that supports longer serials to virtio-blk still exists. At the same time, discussions around the topic have revealed that people also would have good use for additional identifiers such as a WWID, or that they would consider an additional longer identifier safer than extending the existing serial. While I believe that extending the length of the existing serial is the best way forward in most use cases for the original problem (and in particular for new VMs), this proposal enables additional identifier types, too, so that cases that need something else are still covered. A prototype implementation for Linux and QEMU can be found at: https://gitlab.com/kmwolf/linux/-/commits/virtio-blk-serial https://gitlab.com/kmwolf/qemu/-/commits/virtio-blk-serial I'm planning to send these patches to the respective mailing lists after polishing them a bit more, unless of course this discussion results in major objections before then. Kevin Wolf (1): virtio-blk: Support extended device identifiers device-types/blk/description.tex | 80 ++++++++++++++++++++++++++++++-- 1 file changed, 75 insertions(+), 5 deletions(-) -- 2.56.1