From: Wei Liu Subject: Re: 4.5 patch: xendomains noise to stderr in rdname() Date: Sat, 13 Dec 2014 16:45:26 +0000 Message-ID: <20141213164526.GB2285@zion.uk.xensource.com> References: <104017455.78913.1418434454763.JavaMail.yahoo@jws10624.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <104017455.78913.1418434454763.JavaMail.yahoo@jws10624.mail.bf1.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mark Pryor Cc: wei.liu2@citrix.com, Xen-devel List-Id: xen-devel@lists.xenproject.org On Sat, Dec 13, 2014 at 01:34:14AM +0000, Mark Pryor wrote: > Instead of tracking down which commit involving libxl* which prints all k= ind of noiseto stderr, I will post a workaround. = Though I think I am able to guess what log you were seeing, it would be better in the future if you attach actual log for a bug report. I will post a patch for this. Wei. > = > If you build, install, and use 4.5 this bug will drive you mad, so here i= t is: > -------------------- snip ----------------- > --- a/tools/hotplug/Linux/xendomains.in+++ b/tools/hotplug/Linux/xendomai= ns.in > @@ -175,7 +175,7 @@ contains_something() > =A0# read name from xen config file > =A0rdname() > =A0{ > -=A0=A0=A0 NM=3D$($CMD create --quiet --dryrun --defconfig "$1" | > +=A0=A0=A0 NM=3D$($CMD create --quiet --dryrun --defconfig "$1" 2>&1 | > =A0=A0=A0=A0=A0=A0=A0=A0=A0 sed -n 's/^.*(name \(.*\))$/\1/p;s/^.*"name":= "\(.*\)",$/\1/p') > =A0} > = > = > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel