xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] blkif.h: document physical-device node
@ 2015-07-07 15:48 Wei Liu
  2015-07-07 16:07 ` Ian Campbell
  2015-07-20 11:04 ` Roger Pau Monné
  0 siblings, 2 replies; 4+ messages in thread
From: Wei Liu @ 2015-07-07 15:48 UTC (permalink / raw)
  To: Xen-devel
  Cc: Wei Liu, Ian Campbell, George Dunlap, Ian Jackson, David Vrabel,
	Roger Pau Monne

This node is used by toolstack (libxl, hotplug script) and blkback.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Roger Pau Monne <roger.pau@citrix.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: George Dunlap <george.dunlap@eu.citrix.com>

I notice this when I was looking at George's patch series to fix hotplug
scripts. If anyone has better idea how we can document this feel free to
provide alternative.
---
 xen/include/public/io/blkif.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/xen/include/public/io/blkif.h b/xen/include/public/io/blkif.h
index 6baf7fb..8f0f9a6 100644
--- a/xen/include/public/io/blkif.h
+++ b/xen/include/public/io/blkif.h
@@ -92,6 +92,12 @@
  *      backend driver to open the backing device.  (e.g. the path to the
  *      file or block device representing the backing store.)
  *
+ * physical-device
+ *      Values:         "MAJOR:MINOR"
+ *
+ *      MAJOR and MINOR are the major number and minor number of the
+ *      backing device respectively.
+ *
  * type
  *      Values:         "file", "phy", "tap"
  *
-- 
1.9.1

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

* Re: [PATCH] blkif.h: document physical-device node
  2015-07-07 15:48 [PATCH] blkif.h: document physical-device node Wei Liu
@ 2015-07-07 16:07 ` Ian Campbell
  2015-07-20 11:04 ` Roger Pau Monné
  1 sibling, 0 replies; 4+ messages in thread
From: Ian Campbell @ 2015-07-07 16:07 UTC (permalink / raw)
  To: Wei Liu
  Cc: George Dunlap, Ian Jackson, David Vrabel, Xen-devel, Roger Pau Monne

On Tue, 2015-07-07 at 16:48 +0100, Wei Liu wrote:
> This node is used by toolstack (libxl, hotplug script) and blkback.
> 
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>
> ---
> Cc: Ian Campbell <ian.campbell@citrix.com>
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> Cc: Roger Pau Monne <roger.pau@citrix.com>
> Cc: David Vrabel <david.vrabel@citrix.com>
> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> Cc: George Dunlap <george.dunlap@eu.citrix.com>
> 
> I notice this when I was looking at George's patch series to fix hotplug
> scripts. If anyone has better idea how we can document this feel free to
> provide alternative.

It looks perfectly fine to me, maybe you might want to insert a "block"
before the device, but in any case:

Acked-by: Ian Campbell <ian.campbell@citrix.com>

> ---
>  xen/include/public/io/blkif.h | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/xen/include/public/io/blkif.h b/xen/include/public/io/blkif.h
> index 6baf7fb..8f0f9a6 100644
> --- a/xen/include/public/io/blkif.h
> +++ b/xen/include/public/io/blkif.h
> @@ -92,6 +92,12 @@
>   *      backend driver to open the backing device.  (e.g. the path to the
>   *      file or block device representing the backing store.)
>   *
> + * physical-device
> + *      Values:         "MAJOR:MINOR"
> + *
> + *      MAJOR and MINOR are the major number and minor number of the
> + *      backing device respectively.
> + *
>   * type
>   *      Values:         "file", "phy", "tap"
>   *

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

* Re: [PATCH] blkif.h: document physical-device node
  2015-07-07 15:48 [PATCH] blkif.h: document physical-device node Wei Liu
  2015-07-07 16:07 ` Ian Campbell
@ 2015-07-20 11:04 ` Roger Pau Monné
  2015-07-28 11:10   ` Ian Campbell
  1 sibling, 1 reply; 4+ messages in thread
From: Roger Pau Monné @ 2015-07-20 11:04 UTC (permalink / raw)
  To: Wei Liu, Xen-devel; +Cc: George Dunlap, Ian Jackson, Ian Campbell, David Vrabel

El 07/07/15 a les 17.48, Wei Liu ha escrit:
> This node is used by toolstack (libxl, hotplug script) and blkback.
> 
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>
> ---
> Cc: Ian Campbell <ian.campbell@citrix.com>
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> Cc: Roger Pau Monne <roger.pau@citrix.com>
> Cc: David Vrabel <david.vrabel@citrix.com>
> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> Cc: George Dunlap <george.dunlap@eu.citrix.com>
> 
> I notice this when I was looking at George's patch series to fix hotplug
> scripts. If anyone has better idea how we can document this feel free to
> provide alternative.
> ---
>  xen/include/public/io/blkif.h | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/xen/include/public/io/blkif.h b/xen/include/public/io/blkif.h
> index 6baf7fb..8f0f9a6 100644
> --- a/xen/include/public/io/blkif.h
> +++ b/xen/include/public/io/blkif.h
> @@ -92,6 +92,12 @@
>   *      backend driver to open the backing device.  (e.g. the path to the
>   *      file or block device representing the backing store.)
>   *
> + * physical-device
> + *      Values:         "MAJOR:MINOR"
> + *
> + *      MAJOR and MINOR are the major number and minor number of the
> + *      backing device respectively.
> + *

Acked-by: Roger Pau Monné <roger.pau@citrix.com>

Although I plan to expand this field so it's also used by FreeBSD
blkback with a different format.

Roger.

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

* Re: [PATCH] blkif.h: document physical-device node
  2015-07-20 11:04 ` Roger Pau Monné
@ 2015-07-28 11:10   ` Ian Campbell
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Campbell @ 2015-07-28 11:10 UTC (permalink / raw)
  To: Roger Pau Monné, Wei Liu, Xen-devel
  Cc: George Dunlap, Ian Jackson, David Vrabel

On Mon, 2015-07-20 at 13:04 +0200, Roger Pau Monné wrote:
> 
> Acked-by: Roger Pau Monné <roger.pau@citrix.com>

Applied. Since I don't think it conflicts with...

> Although I plan to expand this field so it's also used by FreeBSD
> blkback with a different format.

...this.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

end of thread, other threads:[~2015-07-28 11:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-07 15:48 [PATCH] blkif.h: document physical-device node Wei Liu
2015-07-07 16:07 ` Ian Campbell
2015-07-20 11:04 ` Roger Pau Monné
2015-07-28 11:10   ` Ian Campbell

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