All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] v2: Add 'serial' attribute to virtio-blk devices
@ 2010-06-24  3:19 ` Ryan Harper
  0 siblings, 0 replies; 12+ messages in thread
From: Ryan Harper @ 2010-06-24  3:19 UTC (permalink / raw)
  To: virtualization; +Cc: Rusty Russell, john cooper, kvm, qemu-devel, Ryan Harper

Using Rusty's suggestion I've respun the patch removing the special copy
function.  I've tested this patch in a guest kernel with and without qemu
supplying serial numbers for the block devices and it's working as expected.
When qemu supplies serial numbers, the correct value is supplied to
/sys/block/vdX/serial and can be used by udev for generating disk/by-id paths
(without separate utility).  When running without serial number support the path
still exists in sysfs but produces no output.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH 0/2] v2: Add 'serial' attribute to virtio-blk devices
@ 2010-06-24  3:19 Ryan Harper
  0 siblings, 0 replies; 12+ messages in thread
From: Ryan Harper @ 2010-06-24  3:19 UTC (permalink / raw)
  To: virtualization; +Cc: john cooper, qemu-devel, kvm

Using Rusty's suggestion I've respun the patch removing the special copy
function.  I've tested this patch in a guest kernel with and without qemu
supplying serial numbers for the block devices and it's working as expected.
When qemu supplies serial numbers, the correct value is supplied to
/sys/block/vdX/serial and can be used by udev for generating disk/by-id paths
(without separate utility).  When running without serial number support the path
still exists in sysfs but produces no output.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>

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

end of thread, other threads:[~2010-06-25  3:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-24  3:19 [PATCH 0/2] v2: Add 'serial' attribute to virtio-blk devices Ryan Harper
2010-06-24  3:19 ` [Qemu-devel] " Ryan Harper
2010-06-24  3:19 ` [PATCH 1/2] v2 " Ryan Harper
2010-06-24  3:19   ` [Qemu-devel] " Ryan Harper
2010-06-24  3:19 ` Ryan Harper
2010-06-24  3:19 ` [PATCH 2/2] Remove virtio_blk VBID ioctl Ryan Harper
2010-06-24  3:19   ` [Qemu-devel] " Ryan Harper
2010-06-24  3:19 ` Ryan Harper
2010-06-25  3:04 ` [PATCH 0/2] v2: Add 'serial' attribute to virtio-blk devices Rusty Russell
2010-06-25  3:04   ` [Qemu-devel] " Rusty Russell
2010-06-25  3:04 ` Rusty Russell
  -- strict thread matches above, loose matches on Subject: below --
2010-06-24  3:19 Ryan Harper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.