From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] pci-attach: fix assertation Date: Thu, 17 Sep 2015 13:00:05 +0100 Message-ID: <1442491205.18856.187.camel@citrix.com> References: <1442384169-29059-1-git-send-email-cyliu@suse.com> <1442391925.18856.23.camel@citrix.com> <20150916140811.GA20876@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150916140811.GA20876@zion.uk.xensource.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: Wei Liu Cc: Ian.Jackson@eu.citrix.com, Chunyan Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2015-09-16 at 15:08 +0100, Wei Liu wrote: > On Wed, Sep 16, 2015 at 09:25:25AM +0100, Ian Campbell wrote: > > On Wed, 2015-09-16 at 14:16 +0800, Chunyan Liu wrote: > > > > For the subject I prefer to avoid "fix " style messages. In this > > case something like "libxl: ensure xs transaction is initialised in > > libxl__device_pci_add_xenstore" would be better. > > > > > Run "xl pci-attach ", the 2nd time fails: > > > xl: libxl_xshelp.c:209: libxl__xs_transaction_start: Assertion `!*t' > > > failed. > > > Aborted > > > > > > To fix that, initialize xs_transaction to avoid > > > libxl__xs_transaction_start assertation error. > > > > "assertion". > > > > > Signed-off-by: Chunyan Liu > > > > With an updated commit message (which I can do as I commit): > > Acked-by: Ian Campbell > > > > Wei, I think we want this for 4.6. > > > > Release-acked-by: Wei Liu Applied to staging and staging-4.6.