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

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

Wednesday, April 16, 2014, 5:19:34 PM, you wrote:

> 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.

When i do *what* ? (it's not exactly clear if you are referring to the problem 
i'm trying to workaround .. or the problems i'm finding when trying to 
workaround :-) )

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

Xen-devel mailing list



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