[Qemu-devel] [Bug 1529449] Re: serial is required for -device nvme

2016-05-05 Thread Tom Yan
** Attachment added: "0.png" https://bugs.launchpad.net/qemu/+bug/1529449/+attachment/4656268/+files/0.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 -de

[Qemu-devel] [Bug 1529449] Re: serial is required for -device nvme

2016-05-05 Thread Tom Yan
Since both "drive=" and "serial=" expects an arbitrary string (while the value for "drive=" must be unique since it's the "id=" of a "-drive"), why not use the same string from "drive=" as the value of "serial=" when it's not specified explicitly? Apparently "-device scsi-hd" has already been doin

[Qemu-devel] [Bug 1529449] Re: serial is required for -device nvme

2016-05-05 Thread Tom Yan
** Attachment added: "1.png" https://bugs.launchpad.net/qemu/+bug/1529449/+attachment/4656269/+files/1.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 -de

Re: [Qemu-devel] [Bug 1529449] Re: serial is required for -device nvme

2016-04-28 Thread Laszlo Ersek (Red Hat)
On 04/28/16 20:07, Tom Yan wrote: > Instead of requiring a serial of arbitrary length/format, I think a > WWN/EUI-64 is more useful/important, WWN/EUI-64 is not "more important". Section "7.9 Unique Identifier" in the NVMe spec (Revision 1.2a, October 23, 2015) says that the serial number is manda

[Qemu-devel] [Bug 1529449] Re: serial is required for -device nvme

2016-04-28 Thread Tom Yan
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