WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] libxl: create pci backend only when there are pc

To: Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] libxl: create pci backend only when there are pci devices
From: Roger Pau Monné <roger.pau@xxxxxxxxxxxxx>
Date: Wed, 14 Sep 2011 17:02:05 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 14 Sep 2011 08:06:33 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=yCAP40dO5e8PVr7S78NJ2XBkkKvUQXT54ywFT43+C5o=; b=GRLkvDk/EGMe0aGrEOcEODunc7vK8eefNC6ytKxuByLaod5TPNNACQxq+38+6Xv76T 5+TMZ/vkDJTOpA6JVHYb1dBZ+0fGwNqrOLV/yzl3cETS3aHOqibk3DKpsGSlpFwu43ur w/vY/X+8+iqj8uzV90c71JUdwypTnCDwUofK0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E70B0D7.5040906@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <63e254468d6e8d81baea.1316002763@loki> <4E70B0D7.5040906@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This was commited as a part of another patch, and I've decided to
submit it alone. This solves a problem with NetBSD Dom0 and at least
Linux DomU, the DomU kernel waited a very long time at XENBUS init,
because it was unable to attach the PCI devices (although there were
no PCI devices, only an empty pci entry in xenstore). This prevents
libxl from adding the pci entries to xenstore if there are no PCI
devices and solves the problem. I don't have any Linux boxes, but I
think this should not break anything.

If the patch is correct, please add it to xen-4.1 too.

Regards, Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel