From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avqTq-0004lk-Mw for qemu-devel@nongnu.org; Thu, 28 Apr 2016 14:16:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avqTl-0001wD-PA for qemu-devel@nongnu.org; Thu, 28 Apr 2016 14:16:02 -0400 Received: from indium.canonical.com ([91.189.90.7]:55654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avqTl-0001w7-Ik for qemu-devel@nongnu.org; Thu, 28 Apr 2016 14:15:57 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1avqTk-0008KO-Mv for ; Thu, 28 Apr 2016 18:15:56 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 52E982E80CC for ; Thu, 28 Apr 2016 18:15:54 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 28 Apr 2016 18:07:23 -0000 From: Tom Yan Reply-To: Bug 1529449 <1529449@bugs.launchpad.net> Sender: bounces@canonical.com References: <20151227070342.25181.45645.malonedeb@soybean.canonical.com> Message-Id: <20160428180723.5590.72718.malone@chaenomeles.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1529449] Re: serial is required for -device nvme List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Instead of requiring a serial of arbitrary length/format, I think a WWN/EUI-64 is more useful/important, not to mention that the WWN/EUI-64 can pretty much always be used as the serial at the same time. Unlike Linux, Windows consider the WWN/EUI-64 as the "serial": "C:\Windows\system32>sg_vpd -i PD1 Device Identification VPD page: Addressed logical unit: designator type: SCSI name string, code set: UTF-8 SCSI name string: 8086QEMU NVMe Ctrl 00012BDAC262CF831698 C:\Windows\system32>sg_vpd -p sn PD1 Unit serial number VPD page: Unit serial number: 0000_0000_0000_0000." (https://bugs.launchpad.net/qemu/+bug/1576347/+attachment/4650553/+files/02= .PNG) UEFI also makes use of the WWN/EUI-64 to generate boot entries for NVMe dev= ices: https://bugs.launchpad.net/qemu/+bug/1576347/+attachment/4650554/+files/03.= png https://bugs.launchpad.net/qemu/+bug/1576347/+attachment/4650555/+files/04.= png -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1529449 Title: serial is required for -device nvme Status in QEMU: New Bug description: I am not exactly sure if this is a bug, but I don't see why the option "serial" should be required for -device nvme like the option "drive". Truth is it seem to accept random string as its value anyway, if that's the case, couldn't qemu just generate one for it when it's not specified? To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1529449/+subscriptions