All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: xen-devel@lists.xen.org
Cc: Wei Liu <wei.liu2@citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	Ian Campbell <ian.campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [PATCH 4/4] libxl: add support for vscsi
Date: Mon, 2 Mar 2015 15:20:40 +0100	[thread overview]
Message-ID: <20150302142040.GA17851@aepfle.de> (raw)
In-Reply-To: <1425291362-30228-5-git-send-email-olaf@aepfle.de>

On Mon, Mar 02, Olaf Hering wrote:

> +++ b/tools/libxl/libxl_types.idl

> +libxl_vscsi_hctl = Struct("vscsi_hctl", [
> +    ("hst", uint32),
> +    ("chn", uint32),
> +    ("tgt", uint32),
> +    ("lun", uint32),
> +    ])
> +
> +libxl_vscsi_dev = Struct("vscsi_dev", [
> +    ("vscsi_dev_id",     libxl_devid),
> +    ("remove",           bool),
> +    ("p_devname",        string),
> +    ("pdev",             libxl_vscsi_hctl),
> +    ("vdev",             libxl_vscsi_hctl),
> +    ])
> +
> +libxl_device_vscsi = Struct("device_vscsi", [
> +    ("backend_domid",    libxl_domid),
> +    ("devid",            libxl_devid),
> +    ("v_hst",            uint32),
> +    ("vscsi_devs",       Array(libxl_vscsi_dev, "num_vscsi_devs")),
> +    ("feature_host",     bool),
> +    ])

IanC, you made a comment about "vscsi_dev_id" in the pastebin.com
comment about libxl_vscsi_hctl:
'- devid is just "devid" in all other places, not "TYPE_dev_id".'

Its used as <domid>/<vhost>/vscsi-devs/dev-<vscsi_dev_id>/.  What name
should be used to reference the devices? Also just "devid" even if it
refers to devices "private" to the vscsi host?

Olaf

  reply	other threads:[~2015-03-02 14:20 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-02 10:15 [PATCH 0/4] libbxl: add support for pvscsi, iteration 2 Olaf Hering
2015-03-02 10:15 ` [PATCH 1/4] vscsiif.h: remove reference to WWN Olaf Hering
2015-03-02 10:46   ` Jan Beulich
2015-03-02 10:50     ` Andrew Cooper
2015-03-02 10:55       ` Jürgen Groß
2015-03-02 11:00         ` Andrew Cooper
2015-03-02 10:59       ` Jan Beulich
2015-03-02 10:59   ` Juergen Gross
2015-03-02 14:34     ` Olaf Hering
2015-03-02 14:40       ` Olaf Hering
2015-03-02 14:55         ` Juergen Gross
2015-03-02 10:16 ` [PATCH 2/4] docs: add vscsi to xenstore-paths.markdown Olaf Hering
2015-03-02 10:16 ` [PATCH 3/4] docs: add pvscsi.txt Olaf Hering
2015-03-02 10:49   ` Jan Beulich
2015-03-02 11:04   ` Juergen Gross
2015-03-02 15:14     ` Olaf Hering
2015-03-02 15:35       ` Juergen Gross
2015-03-02 18:24         ` Olaf Hering
2015-03-02 10:16 ` [PATCH 4/4] libxl: add support for vscsi Olaf Hering
2015-03-02 14:20   ` Olaf Hering [this message]
2015-03-02 14:31     ` Ian Campbell
2015-03-02 15:11       ` Olaf Hering
2015-03-02 14:27   ` Olaf Hering

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150302142040.GA17851@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.