Subject: Re: xend vs xl with pci=['
Date: Tuesday 7th January 2014 14:29:13 UTC (over 5 years ago)
On Tue, Jan 07, 2014 at 11:22:58AM +0000, Ian Campbell wrote: > create ^ > thanks > > On Mon, 2014-01-06 at 12:57 -0500, Konrad Rzeszutek Wilk wrote: > > In Xend, if I had a pci entry in the guest config and the > > PCI device was not assigned to xen-pciback or pci-stub it > > would refuse to launch the guest. > > > > Not so with 'xl'. It will complain but still launch: > > It looks like domcreate_attach_pci() is ignoring the result of > libxl__device_pci_add(). It appears to have always done so. > > I suppose there is an argument that there are usecases where starting > the domain at all even without the full set of devices is better than > not starting it at all, but I think I agree that the default should be > to fail if some devices are not available.