All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/hotplug: fix bug on xendomains using xl
@ 2014-01-21 13:51 Fabio Fantoni
  2014-01-21 13:56 ` Ian Campbell
  0 siblings, 1 reply; 7+ messages in thread
From: Fabio Fantoni @ 2014-01-21 13:51 UTC (permalink / raw)
  To: xen-devel
  Cc: George.Dunlap, Fabio Fantoni, Ian.Jackson, Ian.Campbell,
	Stefano.Stabellini

Make rdname function work with xl

Signed-off-by: Fabio Fantoni <fabio.fantoni@m2r.biz>
---
 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()
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-01-28 11:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-21 13:51 [PATCH] tools/hotplug: fix bug on xendomains using xl Fabio Fantoni
2014-01-21 13:56 ` Ian Campbell
2014-01-24 14:45   ` Fabio Fantoni
2014-01-24 16:16     ` George Dunlap
2014-01-27 11:47       ` Fabio Fantoni
2014-01-24 14:53   ` George Dunlap
2014-01-28 11:48     ` Ian Campbell

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.