[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xl shutdown --wait "racy"



On Wed, Apr 16, 2014 at 04:08:21PM +0200, Sander Eikelenboom wrote:
> Hi Ian (C|J) Konrad,
> 
> I'm currently trying to workaround the pci-(detach|assignable-remove) issues 
> i 
> reported earlier. 
> 
> The workaround i thought of was:
> - shutting down the guest
> - starting it without 1 of the original devices passed through
> - use xl pci-assignable-remove and bind the device to the dom0 driver.
> 
> But during this i noticed that a "xl shutdown --wait" does wait .. but 
> returns:
> - Before the domain is removed from for instance "xl list", it still listed 
> there in 
> "--ps--" state.
> - before pciback has done it's restore config space magic.

Which reminds me - when you do this - are you (or any processes) in the /sysfs 
directory?
I've been having a hard-time reproducing the issue. Sometimes I see it, but 
then if I try
again the problem does not show up again.

> 
> So it seems the wait loop is exiting somewhat prematurely, is this expected ? 
> 
> --
> Sander
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.