Alexey Zaytsev <alexey.zayt...@gmail.com> writes:

> Hi.
>
> Would it be a good idea to provide some non-empty serial number for
> VIRTIO_BLK_T_GET_ID, when the user does not specify one?
> QEMU assigns a default serial to IDE drives, but not virtio.

SCSI devices don't get one either.

The IDE default serial numbers aren't stable; they depend on device
initialization order.  We try hard to keep that the same.  Still,
default serial numbers can change when you add or remove devices, or
swap connectors.  In my opinion, this makes them pretty useless.

Ideas on better default serial numbers are welcome.

Reply via email to