[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] tools/hotplug: fix bug on xendomains using xl



On Tue, 2014-01-21 at 14:51 +0100, Fabio Fantoni wrote:
> Make rdname function work with xl
>
> Signed-off-by: Fabio Fantoni <fabio.fantoni@xxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

Although I would have preferred a slightly more verbose changelog.

> ---
>  tools/hotplug/Linux/init.d/xendomains |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/hotplug/Linux/init.d/xendomains 
> b/tools/hotplug/Linux/init.d/xendomains
> index 38371af..59f1e3d 100644
> --- a/tools/hotplug/Linux/init.d/xendomains
> +++ b/tools/hotplug/Linux/init.d/xendomains
> @@ -186,7 +186,7 @@ contains_something()
>  rdname()
>  {
>      NM=$($CMD create --quiet --dryrun --defconfig "$1" |
> -         sed -n 's/^.*(name \(.*\))$/\1/p')
> +         sed -n 's/^.*(name \(.*\))$/\1/p;s/^.*"name": "\(.*\)",$/\1/p')

>  }
>  
>  rdnames()



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.