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: do not try to detach pci device when none

Marek Marczykowski writes ("Re: [Xen-devel] [PATCH] libxl: do not try to detach 
pci device when none attached"):
> On 10.06.2011 13:03, Stefano Stabellini wrote:
> > If num is 0, it won't enter the following loop anyway, the only
> > other operation in libxl_device_pci_shutdown is free(pcidevs) and
> > pcidevs should be NULL so nothing bad should happen.
> 
> Ah, ok. So your patch should also works.

I have applied Stefano's patch.

Ian.

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