* [Qemu-devel] [PATCH 0/2] Add serial number support for virtio_blk, V3
@ 2009-05-27 0:26 john cooper
0 siblings, 0 replies; only message in thread
From: john cooper @ 2009-05-27 0:26 UTC (permalink / raw)
To: KVM list, qemu-devel; +Cc: john.cooper
[Rework of earlier patch, 2/2 modified to use
an existing interface]
This patch allows passing of a virtio_blk drive
serial number from qemu into a guest's virtio_blk
driver, and provides a means to access the serial
number from a guest's userspace.
Equivalent functionality currently exists for IDE
and SCSI, however it is not yet implemented for
virtio. Scenarios exist where guest code relies
on a unique drive serial number to correctly
identify the machine environment in which it
exists.
The following two patches implement the above:
qemu-vblk-serial-3.patch
which provides the qemu missing bits to interpret
a '-drive .. serial=XYZ ..' flag, and:
virtio_blk-serial-3.patch
which extracts this information and makes it
available to guest userspace via an HDIO_GET_IDENTITY
ioctl, eg: 'hdparm -i /dev/vda'.
The above patches are relative to qemu-kvm.git and
2.6.29.3 respectively.
-john
--
john.cooper@redhat.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-27 0:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-27 0:26 [Qemu-devel] [PATCH 0/2] Add serial number support for virtio_blk, V3 john cooper
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).