Rusty Russell wrote:
On Wed, 30 Sep 2009 06:25:39 am Anthony Liguori wrote:
virtio-blk isn't an ATA device so why pretend like it is?
Do you want to maintain a "vdparm" to match hdparm and sdparm?
That's an argument to implement the HDIO_GET_IDENTITY ioctl in the Linux
virtio-blk driver. That's a totally reasonable thing to do.
However, baking something into the virtio-blk ABI because Linux requires
an hdparm, sdparm, and potentially a vdparm doesn't seem like a good
idea to me. We should expose the information that makes sense for a
virtio block device and if a guest wants to create an ATA identify
response out of that data, more power to it.