From: Ian Jackson Subject: Re: [PATCH RESENTv2] libxl: add all pci devices to xenstore at once (during VM create) Date: Tue, 21 Jun 2011 17:46:52 +0100 Message-ID: <19968.51964.203145.123565@mariner.uk.xensource.com> References: <19968.51465.124967.58565@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <19968.51465.124967.58565@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Marek Marczykowski , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org iwj writes ("Re: [Xen-devel] [PATCH RESENTv2] libxl: add all pci devices to xenstore at once (during VM create)"): > Marek Marczykowski writes ("[Xen-devel] [PATCH RESENTv2] libxl: add all pci devices to xenstore at once (during VM create)"): > > diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c > > --- a/tools/libxl/libxl_create.c > > +++ b/tools/libxl/libxl_create.c > > @@ -521,6 +521,11 @@ static int do_domain_create(libxl__gc *g > > > > for (i = 0; i < d_config->num_pcidevs; i++) > > libxl__device_pci_add(gc, domid, &d_config->pcidevs[i], 1); > > + ret = libxl__create_pci_backend(gc, domid, d_config->pcidevs, d_confi g->num_pcidevs); > > + if (ret < 0) { > > + LIBXL__LOG(ctx, LIBXL__LOG_ERROR, "libxl_create_pci_backend faile d: %d", ret); > > + goto error_out; > > + } > > There is an indenting error here. Oh wait, no there isn't. I blame being distracted by the wrap damage. > Also your lines are still >75 characters. Please wrap them > appropriately, including splitting strings if necessary. I will fix up the formatting and apply the patch. Ian.