From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: George Dunlap <George.Dunlap@eu.citrix.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH 3/3] libxl: don't write physical-device node for driver domain disks
Date: Fri, 3 May 2013 14:09:50 +0200 [thread overview]
Message-ID: <5183A90E.5050607@citrix.com> (raw)
In-Reply-To: <1367581530.28742.78.camel@zakaz.uk.xensource.com>
On 03/05/13 13:45, Ian Campbell wrote:
> On Fri, 2013-05-03 at 12:23 +0100, Roger Pau Monne wrote:
>> This will be handled by the driver domain itself,
>
> again by udev?
Or xenbackendd (or something similar). It doesn't have to be udev
specifically.
>
>> since the toolstack
>> does not have access to the physical device because it is in a
>> different domain.
>>
>> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
>> Cc: Ian Campbell <ian.campbell@citrix.com>
>> Cc: Ian Jackson <ian.jackson@citrix.com>
>> Cc: George Dunlap <george.dunlap@citrix.com>
>> ---
>> tools/libxl/libxl.c | 3 ++-
>> 1 files changed, 2 insertions(+), 1 deletions(-)
>>
>> diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c
>> index 87bda72..bc91fd5 100644
>> --- a/tools/libxl/libxl.c
>> +++ b/tools/libxl/libxl.c
>> @@ -2104,7 +2104,8 @@ static void device_disk_add(libxl__egc *egc, uint32_t domid,
>> * responsible for this since the block device may not
>> * exist yet.
>> */
>> - if (!disk->script) {
>> + if (!disk->script &&
>> + disk->backend_domid == LIBXL_TOOLSTACK_DOMID) {
>> int major, minor;
>> libxl__device_physdisk_major_minor(dev, &major, &minor);
>> flexarray_append_pair(back, "physical-device",
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2013-05-03 12:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-03 11:23 [PATCH 0/3] libxl: allow usage of storage driver domains Roger Pau Monne
2013-05-03 11:23 ` [PATCH 1/3] libxl: correctly parse storage devices on " Roger Pau Monne
2013-05-03 11:42 ` Ian Campbell
2013-05-03 11:48 ` George Dunlap
2013-05-03 15:21 ` George Dunlap
2013-05-07 17:28 ` Ian Jackson
2013-05-08 8:47 ` George Dunlap
2013-05-08 11:33 ` Ian Campbell
2013-05-03 11:23 ` [PATCH 2/3] libxl: don't execute hotplug scripts if device is on a driver domain Roger Pau Monne
2013-05-03 11:44 ` Ian Campbell
2013-05-03 12:08 ` Roger Pau Monné
2013-05-03 12:38 ` Ian Campbell
2013-05-03 11:23 ` [PATCH 3/3] libxl: don't write physical-device node for driver domain disks Roger Pau Monne
2013-05-03 11:45 ` Ian Campbell
2013-05-03 12:09 ` Roger Pau Monné [this message]
2013-05-03 12:38 ` Ian Campbell
2013-05-07 15:47 ` [PATCH 0/3] libxl: allow usage of storage driver domains 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=5183A90E.5050607@citrix.com \
--to=roger.pau@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.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.