[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [RFC PATCH] blkif.h: document scsi/0x12/0x83 node

Sometimes, we need to query VPD page=0x83 data from underlying storage so
that vendor supplied software can run inside the VM and believe it's talking to
the vendor's own storage.
But different vendors may have different special features, so it's not suitable
to export through "feature-xxxx".

One solution is query the whole VPD page through Xenstore node, which has
already been used by windows pv driver.

This patch documents the Xenstore node to blkif.h, so that blkfront in Linux and
other frontends can use the same mechanism.

Signed-off-by: Bob Liu <bob.liu@xxxxxxxxxx>
 xen/include/public/io/blkif.h |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/xen/include/public/io/blkif.h b/xen/include/public/io/blkif.h
index 99f0326..30a6e46 100644
--- a/xen/include/public/io/blkif.h
+++ b/xen/include/public/io/blkif.h
@@ -182,6 +182,14 @@
  *      backend driver paired with a LIFO queue in the frontend will
  *      allow us to have better performance in this scenario.
+ * scsi/0x12/0x83
+ *     Values: string
+ *
+ *     A base64 formatted string providing VPD pages read out from backend
+ *     device.
+ *     The backend driver or the toolstack should write this node with VPD
+ *     informations when attaching devices.
+ *
  *----------------------- Request Transport Parameters ------------------------
  * max-ring-page-order

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.