qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] future of the virtio-blk serial number support
@ 2010-01-28 12:43 Christoph Hellwig
  2010-01-28 13:50 ` [Qemu-devel] " Michael S. Tsirkin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Christoph Hellwig @ 2010-01-28 12:43 UTC (permalink / raw)
  To: qemu-devel
  Cc: john cooper, Christian Borntraeger, Anthony Liguori,
	Rusty Russell, Michael S. Tsirkin

Back iSeptember 2007 Michael made the serial number support in qemu
optional and off by default, and in October 2009 Rusty reverted the
Linux virtio-blk support for it.  Given that I can't find support in
any other virtio implementation that makes the feature look essentially
dead.

How should we proceed with adding more fields to struct virtio_blk_config?
I would suggest removing the identity field, declaring
VIRTIO_BLK_F_IDENTIFY officially deprecated and adding the new fields
directly after blk_size again, maybe with a comment that these new
features can't be advertized together with VIRTIO_BLK_F_IDENTIFY.

I need to add a new optiomal_io_size field soon to support the block
topology information when using virtio which is quite important when
using RAID arrays as backend, and I'd prefer to do it in a way that's
compatibly with the PCI spec.

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

* [Qemu-devel] Re: future of the virtio-blk serial number support
  2010-01-28 12:43 [Qemu-devel] future of the virtio-blk serial number support Christoph Hellwig
@ 2010-01-28 13:50 ` Michael S. Tsirkin
  2010-01-28 14:09 ` Anthony Liguori
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Michael S. Tsirkin @ 2010-01-28 13:50 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: john cooper, Christian Borntraeger, Anthony Liguori,
	Rusty Russell, qemu-devel

On Thu, Jan 28, 2010 at 01:43:27PM +0100, Christoph Hellwig wrote:
> Back iSeptember 2007 Michael made the serial number support in qemu
> optional and off by default, and in October 2009 Rusty reverted the
> Linux virtio-blk support for it.  Given that I can't find support in
> any other virtio implementation that makes the feature look essentially
> dead.
> 
> How should we proceed with adding more fields to struct virtio_blk_config?
> I would suggest removing the identity field, declaring
> VIRTIO_BLK_F_IDENTIFY officially deprecated and adding the new fields
> directly after blk_size again, maybe with a comment that these new
> features can't be advertized together with VIRTIO_BLK_F_IDENTIFY.
> 
> I need to add a new optiomal_io_size field soon to support the block
> topology information when using virtio which is quite important when
> using RAID arrays as backend, and I'd prefer to do it in a way that's
> compatibly with the PCI spec.


Makes sense to me.

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

* [Qemu-devel] Re: future of the virtio-blk serial number support
  2010-01-28 12:43 [Qemu-devel] future of the virtio-blk serial number support Christoph Hellwig
  2010-01-28 13:50 ` [Qemu-devel] " Michael S. Tsirkin
@ 2010-01-28 14:09 ` Anthony Liguori
  2010-01-28 16:38 ` john cooper
  2010-01-28 20:59 ` Rusty Russell
  3 siblings, 0 replies; 5+ messages in thread
From: Anthony Liguori @ 2010-01-28 14:09 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: john cooper, Christian Borntraeger, Rusty Russell, qemu-devel,
	Michael S. Tsirkin

On 01/28/2010 06:43 AM, Christoph Hellwig wrote:
> Back iSeptember 2007 Michael made the serial number support in qemu
> optional and off by default, and in October 2009 Rusty reverted the
> Linux virtio-blk support for it.  Given that I can't find support in
> any other virtio implementation that makes the feature look essentially
> dead.
>
> How should we proceed with adding more fields to struct virtio_blk_config?
> I would suggest removing the identity field, declaring
> VIRTIO_BLK_F_IDENTIFY officially deprecated and adding the new fields
> directly after blk_size again, maybe with a comment that these new
> features can't be advertized together with VIRTIO_BLK_F_IDENTIFY.
>
> I need to add a new optiomal_io_size field soon to support the block
> topology information when using virtio which is quite important when
> using RAID arrays as backend, and I'd prefer to do it in a way that's
> compatibly with the PCI spec.
>    

Sounds good to me.  IDENTIFY is basically impossible to implement in 
it's current form with virtio-pci.

We should put something in the spec mentioning that config space is 
limited and large values should not be placed in it.  Instead, 
implementations should use a control ring queue to pass large data sets.

Regards,

Anthony Liguori

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

* [Qemu-devel] Re: future of the virtio-blk serial number support
  2010-01-28 12:43 [Qemu-devel] future of the virtio-blk serial number support Christoph Hellwig
  2010-01-28 13:50 ` [Qemu-devel] " Michael S. Tsirkin
  2010-01-28 14:09 ` Anthony Liguori
@ 2010-01-28 16:38 ` john cooper
  2010-01-28 20:59 ` Rusty Russell
  3 siblings, 0 replies; 5+ messages in thread
From: john cooper @ 2010-01-28 16:38 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Anthony Liguori, Michael S. Tsirkin, john.cooper, Rusty Russell,
	qemu-devel, Christian Borntraeger

Christoph Hellwig wrote:
> Back iSeptember 2007 Michael made the serial number support in qemu
> optional and off by default, and in October 2009 Rusty reverted the
> Linux virtio-blk support for it.  Given that I can't find support in
> any other virtio implementation that makes the feature look essentially
> dead.
> 
> How should we proceed with adding more fields to struct virtio_blk_config?
> I would suggest removing the identity field, declaring
> VIRTIO_BLK_F_IDENTIFY officially deprecated and adding the new fields
> directly after blk_size again, maybe with a comment that these new
> features can't be advertized together with VIRTIO_BLK_F_IDENTIFY.

Agreed.  Feel free to remove it from the PCI
config space.  Its an artifact at this point
and I wouldn't even worry about deprecating
it. 

-john

-- 
john.cooper@redhat.com

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

* [Qemu-devel] Re: future of the virtio-blk serial number support
  2010-01-28 12:43 [Qemu-devel] future of the virtio-blk serial number support Christoph Hellwig
                   ` (2 preceding siblings ...)
  2010-01-28 16:38 ` john cooper
@ 2010-01-28 20:59 ` Rusty Russell
  3 siblings, 0 replies; 5+ messages in thread
From: Rusty Russell @ 2010-01-28 20:59 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: john cooper, Christian Borntraeger, Anthony Liguori, qemu-devel,
	Michael S. Tsirkin

On Thu, 28 Jan 2010 11:13:27 pm Christoph Hellwig wrote:
> Back iSeptember 2007 Michael made the serial number support in qemu
> optional and off by default, and in October 2009 Rusty reverted the
> Linux virtio-blk support for it.  Given that I can't find support in
> any other virtio implementation that makes the feature look essentially
> dead.
> 
> How should we proceed with adding more fields to struct virtio_blk_config?
> I would suggest removing the identity field, declaring
> VIRTIO_BLK_F_IDENTIFY officially deprecated and adding the new fields
> directly after blk_size again, maybe with a comment that these new
> features can't be advertized together with VIRTIO_BLK_F_IDENTIFY.

Yes, this is the correct approach.

Agreed,
Rusty.

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

end of thread, other threads:[~2010-01-28 20:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-28 12:43 [Qemu-devel] future of the virtio-blk serial number support Christoph Hellwig
2010-01-28 13:50 ` [Qemu-devel] " Michael S. Tsirkin
2010-01-28 14:09 ` Anthony Liguori
2010-01-28 16:38 ` john cooper
2010-01-28 20:59 ` Rusty Russell

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).