qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC] virtio-block serial number.
@ 2012-12-20  2:24 Alexey Zaytsev
  2012-12-20  8:20 ` Markus Armbruster
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Zaytsev @ 2012-12-20  2:24 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Stefan Hajnoczi

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [RFC] virtio-block serial number.
  2012-12-20  2:24 [Qemu-devel] [RFC] virtio-block serial number Alexey Zaytsev
@ 2012-12-20  8:20 ` Markus Armbruster
  0 siblings, 0 replies; 2+ messages in thread
From: Markus Armbruster @ 2012-12-20  8:20 UTC (permalink / raw)
  To: Alexey Zaytsev; +Cc: Kevin Wolf, qemu-devel, Stefan Hajnoczi

Alexey Zaytsev <alexey.zaytsev@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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-20  9:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-20  2:24 [Qemu-devel] [RFC] virtio-block serial number Alexey Zaytsev
2012-12-20  8:20 ` Markus Armbruster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).