From: Ian Jackson Subject: Re: [PATCH 1 of 2] libxl: fix cold plugged PCI devices with stubdomains Date: Fri, 9 Dec 2011 16:57:07 +0000 Message-ID: <20194.15843.346545.779639@mariner.uk.xensource.com> References: <9c1b223e152eaaa3861f.1323432165@cosworth.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <9c1b223e152eaaa3861f.1323432165@cosworth.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: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[PATCH 1 of 2] libxl: fix cold plugged PCI devices with stubdomains"): > libxl: fix cold plugged PCI devices with stubdomains > > Since 23565:72eafe80ebc1 the xenstore entries for the stubdomain's > PCI were never created and therefore the stubdom ends up waiting > forever for the devices which it has been asked to insert to show > up. > > Since the stubdomain is already running when we call the libxl_device_pci_add > loop in do_domain_create we should treat it as if "starting == 0". That sounds plausible. Acked-by: Ian Jackson Ian.