From: Olaf Hering <olaf@aepfle.de>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Wei Liu <wei.liu2@citrix.com>,
Ian Campbell <ian.campbell@citrix.com>,
xen-devel@lists.xen.org
Subject: Re: [PATCH v4 3/5] libxl: add support for vscsi
Date: Wed, 22 Apr 2015 10:08:52 +0200 [thread overview]
Message-ID: <20150422080852.GA12884@aepfle.de> (raw)
In-Reply-To: <20150421140537.GC32209@l.oracle.com>
On Tue, Apr 21, Konrad Rzeszutek Wilk wrote:
> On Fri, Apr 17, 2015 at 08:30:58AM +0000, Olaf Hering wrote:
> > +=item B<vscsi=[ "VSCSI_SPEC_STRING", "VSCSI_SPEC_STRING", ...]>
> > +
> > +Specifies the PVSCSI devices to be provided to the guest. PVSCSI passes
> > +dom0 SCSI devices as-is to the guest.
> s/dom0/backend/
I will make that change.
> As in theory you could run an HVM guest with an SCSI device passed in - and
> use said backed to pass the SCSI device to another guest.
Sounds interesting. I assume you meant "backend"? How will the domU talk
to the other domU? Not sure if my libxl change covers that use case, and
how I would be able to verify such functionality. Hopefully merging my
series will not depend on such use case.
> 'as-is' ? I thought there were some filtering done in the backend?
Perhaps 'passthrough with filtering'? I will remove it.
> > +Each VSCSI_SPEC_STRING consists of "pdev,vdev[,options]".
> > +'pdev' describes the physical device, preferable in a persistant format.
> What is 'persistent' format?
Anything that uses identifiers provided by the hardware, like serial
numbers. /dev/disk/by-*/* for example. The h:c:t:l notation is not
persistant because the "h" part will change across reboots.
> > +
> > +=item C<option>
> > +
> > +No options recognized.
> > +
> > +=back
> > +
> > +=item B<Linux xenlinux>
> xenlinux? Classic Xen?
Anything based on linux-2.6.18-xen.hg. I will adjust this to "Linux
based on classic xen kernel"
> > +static int libxl__device_vscsi_new_backend(libxl__egc *egc,
> > + libxl__ao_device *aodev,
> > + libxl_device_vscsi *vscsi,
> > + libxl_domain_config *d_config)
> > +{
> > + rc = libxl__device_vscsi_dev_backend_set(gc, v, back);
> > + if (rc) goto out;
> Don't you want 'return rc' as the out will try to call libxl__xs_transaction_abort?
The current code works because t is initialized to XBT_NULL, and
libxl__xs_transaction_abort will do nothing in that case. I will adjust
this as you suggested.
Olaf
next prev parent reply other threads:[~2015-04-22 8:08 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-17 8:30 [PATCH v4 0/5] libbxl: add support for pvscsi, iteration 4 Olaf Hering
2015-04-17 8:30 ` [PATCH v4 1/5] vscsiif.h: fix WWN notation for p-dev property Olaf Hering
2015-04-21 13:55 ` Konrad Rzeszutek Wilk
2015-04-21 14:35 ` Olaf Hering
2015-04-21 15:31 ` Konrad Rzeszutek Wilk
2015-04-21 16:04 ` Olaf Hering
2015-04-17 8:30 ` [PATCH v4 2/5] docs: add vscsi to xenstore-paths.markdown Olaf Hering
2015-04-17 8:37 ` Olaf Hering
2015-04-17 8:30 ` [PATCH v4 3/5] libxl: add support for vscsi Olaf Hering
2015-04-21 14:05 ` Konrad Rzeszutek Wilk
2015-04-22 8:08 ` Olaf Hering [this message]
2015-04-23 13:10 ` Konrad Rzeszutek Wilk
2015-05-05 9:58 ` Wei Liu
2015-05-06 6:58 ` Olaf Hering
2015-05-06 7:40 ` Wei Liu
2015-05-05 13:55 ` Wei Liu
2015-05-06 8:06 ` Olaf Hering
2015-04-17 8:30 ` [PATCH v4 4/5] vscsiif.h: add some notes about xenstore layout Olaf Hering
2015-05-05 13:59 ` Wei Liu
2015-05-06 7:06 ` Olaf Hering
2015-04-17 8:31 ` [PATCH v4 5/5] Scripts to create and delete xen-scsiback nodes in Linux target framework Olaf Hering
2015-04-20 17:56 ` 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=20150422080852.GA12884@aepfle.de \
--to=olaf@aepfle.de \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=konrad.wilk@oracle.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.