From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH RFC 00/10] libxl: new hotplug calling convention
Date: Thu, 17 Jan 2013 17:10:57 +0100 [thread overview]
Message-ID: <50F82291.1070306@citrix.com> (raw)
In-Reply-To: <1358438224.13856.76.camel@zakaz.uk.xensource.com>
On 17/01/13 16:57, Ian Campbell wrote:
> On Thu, 2013-01-17 at 15:47 +0000, Roger Pau Monne wrote:
>> On 17/01/13 16:40, Ian Campbell wrote:
>>> On Thu, 2013-01-17 at 15:30 +0000, Roger Pau Monne wrote:
>>>> We still need pdev_path, I would say only internally because once the
>>>> "target" has been attached to the Dom0, pdev_path has the path to the
>>>> block device that will be used in blkback, but the caller doesn't need
>>>> to know about this.
>>>
>>> So in the new scheme both pdev_path are valid and contain different
>>> information?
>>
>> Yes, target would be what's passed by the user, like:
>>
>> "iqn=iqn.1994-04.org.netbsd.iscsi-target:target0,portal=192.168.1.128"
>>
>> And pdev_path would be filled after the device has been attached, and it
>> will be something like:
>>
>> /dev/sdb
>
> I see. When we login and create /dev/sdb we can't overwrite target? Or
> move pdev_path into some purely internal datastructure?
Yes that's another option, what I'm doing in this series is overwriting
pdev_path, we could just change the name of pdev_path to target (with a
union as you said) and keep doing it (overwriting target with the
physical path of the attached device).
I'm afraid there's no internal disk related structure, only
libxl_device_disk (public) or libxl__device, but libxl__device is too
general, and I don't want to start overloading it with disk specific values.
>
>> The main reason we need the block device is to be able to call pygrub or
>> to pass it to Qemu.
>
> I see.
>
> Ian.
>
next prev parent reply other threads:[~2013-01-17 16:10 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-21 16:59 [PATCH RFC 00/10] libxl: new hotplug calling convention Roger Pau Monne
2012-12-21 16:59 ` [PATCH RFC 01/10] libxl: libxl__prepare_ao_device should reset num_exec Roger Pau Monne
2013-01-17 13:57 ` Ian Campbell
2012-12-21 17:00 ` [PATCH RFC 02/10] libxl: add new hotplug interface support to hotplug script callers Roger Pau Monne
2013-01-18 13:29 ` Ian Campbell
2013-01-18 16:24 ` Roger Pau Monné
2013-01-21 10:07 ` Ian Campbell
2013-01-21 12:11 ` Roger Pau Monné
2013-01-21 12:18 ` Ian Campbell
2013-01-22 9:30 ` Roger Pau Monné
2012-12-21 17:00 ` [PATCH RFC 03/10] libxl: add new "method" parameter to xl disk config Roger Pau Monne
2013-01-17 15:49 ` Ian Campbell
2012-12-21 17:00 ` [PATCH RFC 04/10] libxl: add prepare/unprepare operations to the libxl public interface Roger Pau Monne
2012-12-21 17:00 ` [PATCH RFC 05/10] libxl: add disk specific remove functions Roger Pau Monne
2012-12-21 17:00 ` [PATCH RFC 06/10] xl: add support for new hotplug interface to block-attach/detach Roger Pau Monne
2012-12-21 17:00 ` [PATCH RFC 07/10] libxl: add local attach support for new hotplug scripts Roger Pau Monne
2012-12-21 17:00 ` [PATCH RFC 08/10] libxl: add new hotplug interface support for HVM guests Roger Pau Monne
2012-12-21 17:00 ` [PATCH RFC 09/10] hotplug: document new hotplug interface Roger Pau Monne
2012-12-21 17:00 ` [PATCH RFC 10/10] hotplug/Linux: add iscsi block hotplug script Roger Pau Monne
2013-01-15 16:56 ` [PATCH RFC 00/10] libxl: new hotplug calling convention Roger Pau Monné
2013-01-17 13:56 ` Ian Campbell
2013-01-17 15:30 ` Roger Pau Monné
2013-01-17 15:40 ` Ian Campbell
2013-01-17 15:47 ` Roger Pau Monné
2013-01-17 15:57 ` Ian Campbell
2013-01-17 16:10 ` Roger Pau Monné [this message]
2013-01-17 16:15 ` Ian Campbell
2013-01-17 16:45 ` Roger Pau Monné
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=50F82291.1070306@citrix.com \
--to=roger.pau@citrix.com \
--cc=Ian.Campbell@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.