public inbox for kvm@vger.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
  2010-06-24  3:19 ` [PATCH 1/2] v2 " Ryan Harper
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ 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] 4+ messages in thread

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

Thread overview: 4+ 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 ` [PATCH 1/2] v2 " Ryan Harper
2010-06-24  3:19 ` [PATCH 2/2] Remove virtio_blk VBID ioctl Ryan Harper
2010-06-25  3:04 ` [PATCH 0/2] v2: Add 'serial' attribute to virtio-blk devices Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox