* [PATCH 0/3] libxl: allow usage of storage driver domains
@ 2013-05-03 11:23 Roger Pau Monne
2013-05-03 11:23 ` [PATCH 1/3] libxl: correctly parse storage devices on " Roger Pau Monne
` (3 more replies)
0 siblings, 4 replies; 18+ messages in thread
From: Roger Pau Monne @ 2013-05-03 11:23 UTC (permalink / raw)
To: xen-devel
Minor fixes in order to use driver domains for block devices (phy
backends). I'm CCing George in order to see if this is suitable for
inclusion into 4.3. IMHO I think this should be considered as a
bug-fix, that allows the storage driver domain features already
present in libxl to be usable for users. I've also created a wiki page
that shows how to create and use storage driver domains with xl:
http://wiki.xen.org/wiki/Storage_driver_domains
Thanks, Roger.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH 1/3] libxl: correctly parse storage devices on driver domains
2013-05-03 11:23 [PATCH 0/3] libxl: allow usage of storage driver domains Roger Pau Monne
@ 2013-05-03 11:23 ` Roger Pau Monne
2013-05-03 11:42 ` Ian Campbell
` (2 more replies)
2013-05-03 11:23 ` [PATCH 2/3] libxl: don't execute hotplug scripts if device is on a driver domain Roger Pau Monne
` (2 subsequent siblings)
3 siblings, 3 replies; 18+ messages in thread
From: Roger Pau Monne @ 2013-05-03 11:23 UTC (permalink / raw)
To: xen-devel; +Cc: Ian Jackson, George Dunlap, Ian Campbell, Roger Pau Monne
Don't try to check physical devices if they belong to a domain
different than the one where the toolstack is running. This prevents
the following error when trying to use storage driver domains:
libxl: debug: libxl_create.c:1246:do_domain_create: ao 0x1819240: create: how=(nil) callback=(nil) poller=0x1818fa0
libxl: debug: libxl_device.c:235:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=phy
libxl: debug: libxl_device.c:175:disk_try_backend: Disk vdev=xvda, backend phy unsuitable as phys path not a block device
libxl: error: libxl_device.c:278:libxl__device_disk_set_backend: no suitable backend for disk xvda
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_device.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c
index a5cf446..b1fc4ef 100644
--- a/tools/libxl/libxl_device.c
+++ b/tools/libxl/libxl_device.c
@@ -161,6 +161,12 @@ static int disk_try_backend(disk_try_backend_args *a,
goto bad_format;
}
+ if (a->disk->backend_domid != LIBXL_TOOLSTACK_DOMID) {
+ LOG(DEBUG, "Disk vdev=%s, is using a storage driver domain, "
+ "skipping physical device check", a->disk->vdev);
+ return backend;
+ }
+
if (a->disk->script) {
LOG(DEBUG, "Disk vdev=%s, uses script=... assuming phy backend",
a->disk->vdev);
--
1.7.7.5 (Apple Git-26)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 2/3] libxl: don't execute hotplug scripts if device is on a driver domain
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:23 ` Roger Pau Monne
2013-05-03 11:44 ` Ian Campbell
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-07 15:47 ` [PATCH 0/3] libxl: allow usage of storage driver domains Roger Pau Monné
3 siblings, 2 replies; 18+ messages in thread
From: Roger Pau Monne @ 2013-05-03 11:23 UTC (permalink / raw)
To: xen-devel; +Cc: Ian Jackson, George Dunlap, Ian Campbell, Roger Pau Monne
Prevent hotplug script execution from libxl if device is on 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_device.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c
index b1fc4ef..bc86648 100644
--- a/tools/libxl/libxl_device.c
+++ b/tools/libxl/libxl_device.c
@@ -903,6 +903,13 @@ static void device_hotplug(libxl__egc *egc, libxl__ao_device *aodev)
int hotplug;
pid_t pid;
+ /*
+ * If device is attached from a driver domain don't try to execute
+ * hotplug scripts
+ */
+ if (aodev->dev->backend_domid != LIBXL_TOOLSTACK_DOMID)
+ goto out;
+
/* Check if we have to execute hotplug scripts for this device
* and return the necessary args/env vars for execution */
hotplug = libxl__get_hotplug_script_info(gc, aodev->dev, &args, &env,
--
1.7.7.5 (Apple Git-26)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 3/3] libxl: don't write physical-device node for driver domain disks
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:23 ` [PATCH 2/3] libxl: don't execute hotplug scripts if device is on a driver domain Roger Pau Monne
@ 2013-05-03 11:23 ` Roger Pau Monne
2013-05-03 11:45 ` Ian Campbell
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é
3 siblings, 2 replies; 18+ messages in thread
From: Roger Pau Monne @ 2013-05-03 11:23 UTC (permalink / raw)
To: xen-devel; +Cc: Ian Jackson, George Dunlap, Ian Campbell, Roger Pau Monne
This will be handled by the driver domain itself, 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",
--
1.7.7.5 (Apple Git-26)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH 1/3] libxl: correctly parse storage devices on driver domains
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-07 17:28 ` Ian Jackson
2 siblings, 0 replies; 18+ messages in thread
From: Ian Campbell @ 2013-05-03 11:42 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: George Dunlap, Ian Jackson, xen-devel@lists.xen.org
On Fri, 2013-05-03 at 12:23 +0100, Roger Pau Monne wrote:
> Don't try to check physical devices if they belong to a domain
> different than the one where the toolstack is running. This prevents
> the following error when trying to use storage driver domains:
>
> libxl: debug: libxl_create.c:1246:do_domain_create: ao 0x1819240: create: how=(nil) callback=(nil) poller=0x1818fa0
> libxl: debug: libxl_device.c:235:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=phy
> libxl: debug: libxl_device.c:175:disk_try_backend: Disk vdev=xvda, backend phy unsuitable as phys path not a block device
> libxl: error: libxl_device.c:278:libxl__device_disk_set_backend: no suitable backend for disk xvda
>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 2/3] libxl: don't execute hotplug scripts if device is on a driver domain
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
1 sibling, 1 reply; 18+ messages in thread
From: Ian Campbell @ 2013-05-03 11:44 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: George Dunlap, Ian Jackson, xen-devel@lists.xen.org
On Fri, 2013-05-03 at 12:23 +0100, Roger Pau Monne wrote:
> Prevent hotplug script execution from libxl if device is on a
> different domain.
The assumption being that the user has enabled udev in the driver
domain?
Is a log message going to be worthwhile?
Does this obsolete run_hotplug_scripts somewhat?
> 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_device.c | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c
> index b1fc4ef..bc86648 100644
> --- a/tools/libxl/libxl_device.c
> +++ b/tools/libxl/libxl_device.c
> @@ -903,6 +903,13 @@ static void device_hotplug(libxl__egc *egc, libxl__ao_device *aodev)
> int hotplug;
> pid_t pid;
>
> + /*
> + * If device is attached from a driver domain don't try to execute
> + * hotplug scripts
> + */
> + if (aodev->dev->backend_domid != LIBXL_TOOLSTACK_DOMID)
> + goto out;
> +
> /* Check if we have to execute hotplug scripts for this device
> * and return the necessary args/env vars for execution */
> hotplug = libxl__get_hotplug_script_info(gc, aodev->dev, &args, &env,
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 3/3] libxl: don't write physical-device node for driver domain disks
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é
2013-05-03 12:38 ` Ian Campbell
1 sibling, 1 reply; 18+ messages in thread
From: Ian Campbell @ 2013-05-03 11:45 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: George Dunlap, Ian Jackson, xen-devel@lists.xen.org
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?
> 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
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/3] libxl: correctly parse storage devices on driver domains
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
2 siblings, 1 reply; 18+ messages in thread
From: George Dunlap @ 2013-05-03 11:48 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: Ian Jackson, Ian Campbell, xen-devel@lists.xen.org
On 05/03/2013 12:23 PM, Roger Pau Monne wrote:
> Don't try to check physical devices if they belong to a domain
> different than the one where the toolstack is running. This prevents
> the following error when trying to use storage driver domains:
>
> libxl: debug: libxl_create.c:1246:do_domain_create: ao 0x1819240: create: how=(nil) callback=(nil) poller=0x1818fa0
> libxl: debug: libxl_device.c:235:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=phy
> libxl: debug: libxl_device.c:175:disk_try_backend: Disk vdev=xvda, backend phy unsuitable as phys path not a block device
> libxl: error: libxl_device.c:278:libxl__device_disk_set_backend: no suitable backend for disk xvda
>
> 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>
Re the feature freeze, these look like fixes to me;
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 2/3] libxl: don't execute hotplug scripts if device is on a driver domain
2013-05-03 11:44 ` Ian Campbell
@ 2013-05-03 12:08 ` Roger Pau Monné
0 siblings, 0 replies; 18+ messages in thread
From: Roger Pau Monné @ 2013-05-03 12:08 UTC (permalink / raw)
To: Ian Campbell; +Cc: George Dunlap, Ian Jackson, xen-devel@lists.xen.org
On 03/05/13 13:44, Ian Campbell wrote:
> On Fri, 2013-05-03 at 12:23 +0100, Roger Pau Monne wrote:
>> Prevent hotplug script execution from libxl if device is on a
>> different domain.
>
> The assumption being that the user has enabled udev in the driver
> domain?
Yes, although it doesn't have to be udev specifically, for example
something similar to xenbackendd could be used in the driver domain, but
I have only tested it with udev.
>
> Is a log message going to be worthwhile?
There's already one log message earlier in disk_try_backend, but I guess
it won't hurt to add another one here, specifically saying that hotplug
scripts will not be executed by libxl for this specific device.
> Does this obsolete run_hotplug_scripts somewhat?
Not really, it just prevents libxl from calling hotplug scripts that
will surely fail (because the domain where the toolstack is running
doesn't have access to the device). run_hotplug_scripts tells whether
hotplug scripts will be executed by udev or libxl, so this code just
changes the behaviour when run_hotplug_scripts == 1 and backend_domid !=
TOOLSTACK_DOMID.
>
>> 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_device.c | 7 +++++++
>> 1 files changed, 7 insertions(+), 0 deletions(-)
>>
>> diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c
>> index b1fc4ef..bc86648 100644
>> --- a/tools/libxl/libxl_device.c
>> +++ b/tools/libxl/libxl_device.c
>> @@ -903,6 +903,13 @@ static void device_hotplug(libxl__egc *egc, libxl__ao_device *aodev)
>> int hotplug;
>> pid_t pid;
>>
>> + /*
>> + * If device is attached from a driver domain don't try to execute
>> + * hotplug scripts
>> + */
>> + if (aodev->dev->backend_domid != LIBXL_TOOLSTACK_DOMID)
>> + goto out;
>> +
>> /* Check if we have to execute hotplug scripts for this device
>> * and return the necessary args/env vars for execution */
>> hotplug = libxl__get_hotplug_script_info(gc, aodev->dev, &args, &env,
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 3/3] libxl: don't write physical-device node for driver domain disks
2013-05-03 11:45 ` Ian Campbell
@ 2013-05-03 12:09 ` Roger Pau Monné
0 siblings, 0 replies; 18+ messages in thread
From: Roger Pau Monné @ 2013-05-03 12:09 UTC (permalink / raw)
To: Ian Campbell; +Cc: George Dunlap, Ian Jackson, xen-devel@lists.xen.org
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
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 2/3] libxl: don't execute hotplug scripts if device is on a driver domain
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:38 ` Ian Campbell
1 sibling, 0 replies; 18+ messages in thread
From: Ian Campbell @ 2013-05-03 12:38 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: George Dunlap, Ian Jackson, xen-devel@lists.xen.org
On Fri, 2013-05-03 at 12:23 +0100, Roger Pau Monne wrote:
> Prevent hotplug script execution from libxl if device is on a
> different domain.
>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 3/3] libxl: don't write physical-device node for driver domain disks
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:38 ` Ian Campbell
1 sibling, 0 replies; 18+ messages in thread
From: Ian Campbell @ 2013-05-03 12:38 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: George Dunlap, Ian Jackson, xen-devel@lists.xen.org
On Fri, 2013-05-03 at 12:23 +0100, Roger Pau Monne wrote:
> This will be handled by the driver domain itself, 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>
Acked-by: Ian Campbell <ian.campbell@@citrix.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/3] libxl: correctly parse storage devices on driver domains
2013-05-03 11:48 ` George Dunlap
@ 2013-05-03 15:21 ` George Dunlap
0 siblings, 0 replies; 18+ messages in thread
From: George Dunlap @ 2013-05-03 15:21 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: Ian Jackson, Ian Campbell, xen-devel@lists.xen.org
On Fri, May 3, 2013 at 12:48 PM, George Dunlap
<george.dunlap@eu.citrix.com> wrote:
> On 05/03/2013 12:23 PM, Roger Pau Monne wrote:
>>
>> Don't try to check physical devices if they belong to a domain
>> different than the one where the toolstack is running. This prevents
>> the following error when trying to use storage driver domains:
>>
>> libxl: debug: libxl_create.c:1246:do_domain_create: ao 0x1819240: create:
>> how=(nil) callback=(nil) poller=0x1818fa0
>> libxl: debug: libxl_device.c:235:libxl__device_disk_set_backend: Disk
>> vdev=xvda spec.backend=phy
>> libxl: debug: libxl_device.c:175:disk_try_backend: Disk vdev=xvda, backend
>> phy unsuitable as phys path not a block device
>> libxl: error: libxl_device.c:278:libxl__device_disk_set_backend: no
>> suitable backend for disk xvda
>>
>> 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>
>
>
> Re the feature freeze, these look like fixes to me;
>
> Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
Sorry, I thought I was replying to #0 -- the whole series gets a
"feature freeze exception" ACK.
But *not* a "freeze for RC0" exception I don't think -- it will have
to wait until Tuesday.
-George
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 0/3] libxl: allow usage of storage driver domains
2013-05-03 11:23 [PATCH 0/3] libxl: allow usage of storage driver domains Roger Pau Monne
` (2 preceding siblings ...)
2013-05-03 11:23 ` [PATCH 3/3] libxl: don't write physical-device node for driver domain disks Roger Pau Monne
@ 2013-05-07 15:47 ` Roger Pau Monné
3 siblings, 0 replies; 18+ messages in thread
From: Roger Pau Monné @ 2013-05-07 15:47 UTC (permalink / raw)
To: xen-devel@lists.xen.org, Ian Campbell, George Dunlap
On 03/05/13 13:23, Roger Pau Monne wrote:
> Minor fixes in order to use driver domains for block devices (phy
> backends). I'm CCing George in order to see if this is suitable for
> inclusion into 4.3. IMHO I think this should be considered as a
> bug-fix, that allows the storage driver domain features already
> present in libxl to be usable for users. I've also created a wiki page
> that shows how to create and use storage driver domains with xl:
>
> http://wiki.xen.org/wiki/Storage_driver_domains
Since the tree is open again, could this patches be applied?
Thanks, Roger.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/3] libxl: correctly parse storage devices on driver domains
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-07 17:28 ` Ian Jackson
2013-05-08 8:47 ` George Dunlap
2 siblings, 1 reply; 18+ messages in thread
From: Ian Jackson @ 2013-05-07 17:28 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: George Dunlap, Ian Campbell, xen-devel@lists.xen.org
Roger Pau Monne writes ("[PATCH 1/3] libxl: correctly parse storage devices on driver domains"):
> Don't try to check physical devices if they belong to a domain
> different than the one where the toolstack is running. This prevents
> the following error when trying to use storage driver domains:
All three look good to me:
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
George, are they OK for 4.3 ?
Ian.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/3] libxl: correctly parse storage devices on driver domains
@ 2013-05-07 20:00 Eric Shelton
0 siblings, 0 replies; 18+ messages in thread
From: Eric Shelton @ 2013-05-07 20:00 UTC (permalink / raw)
To: Ian Jackson
Cc: George Dunlap, xen-devel@lists.xen.org, Ian Campbell,
Roger Pau Monne
Ian Jackson writes:
> Roger Pau Monne writes ("[PATCH 1/3] libxl: correctly parse storage devices > on driver domains"):
> > Don't try to check physical devices if they belong to a domain
> > different than the one where the toolstack is running. This prevents
> > the following error when trying to use storage driver domains:
>
> All three look good to me:
>
> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
>
> George, are they OK for 4.3 ?
>
> Ian.
>From http://lists.xen.org/archives/html/xen-devel/2013-05/msg00399.html
From: George Dunlap
Date: Fri, 3 May 2013 16:21:41 +0100
Subject: Re: [Xen-devel] [PATCH 1/3] libxl: correctly parse storage
devices on driver domains
. . .
> Re the feature freeze, these look like fixes to me;
>
> Acked-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
Sorry, I thought I was replying to #0 -- the whole series gets a
"feature freeze exception" ACK.
But *not* a "freeze for RC0" exception I don't think -- it will have
to wait until Tuesday.
-George
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/3] libxl: correctly parse storage devices on driver domains
2013-05-07 17:28 ` Ian Jackson
@ 2013-05-08 8:47 ` George Dunlap
2013-05-08 11:33 ` Ian Campbell
0 siblings, 1 reply; 18+ messages in thread
From: George Dunlap @ 2013-05-08 8:47 UTC (permalink / raw)
To: Ian Jackson; +Cc: xen-devel@lists.xen.org, Ian Campbell, Roger Pau Monne
On 07/05/13 18:28, Ian Jackson wrote:
> Roger Pau Monne writes ("[PATCH 1/3] libxl: correctly parse storage devices on driver domains"):
>> Don't try to check physical devices if they belong to a domain
>> different than the one where the toolstack is running. This prevents
>> the following error when trying to use storage driver domains:
> All three look good to me:
>
> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
>
> George, are they OK for 4.3 ?
Yes, I gave the series an "OK for 4.3 but not for the RC mini-freeze"
ack on Friday.
-George
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/3] libxl: correctly parse storage devices on driver domains
2013-05-08 8:47 ` George Dunlap
@ 2013-05-08 11:33 ` Ian Campbell
0 siblings, 0 replies; 18+ messages in thread
From: Ian Campbell @ 2013-05-08 11:33 UTC (permalink / raw)
To: George Dunlap; +Cc: xen-devel@lists.xen.org, Ian Jackson, Roger Pau Monne
On Wed, 2013-05-08 at 09:47 +0100, George Dunlap wrote:
> On 07/05/13 18:28, Ian Jackson wrote:
> > Roger Pau Monne writes ("[PATCH 1/3] libxl: correctly parse storage devices on driver domains"):
> >> Don't try to check physical devices if they belong to a domain
> >> different than the one where the toolstack is running. This prevents
> >> the following error when trying to use storage driver domains:
> > All three look good to me:
> >
> > Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
> >
> > George, are they OK for 4.3 ?
>
> Yes, I gave the series an "OK for 4.3 but not for the RC mini-freeze"
> ack on Friday.
Applied.
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2013-05-08 11:33 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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é
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é
-- strict thread matches above, loose matches on Subject: below --
2013-05-07 20:00 [PATCH 1/3] libxl: correctly parse storage devices on " Eric Shelton
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.