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

Re: [OSSTEST PATCH 01/38] ts-logs-capture: Cope if xl shutdown leaves domain running for a bit


  • To: Jason Andryuk <jandryuk@xxxxxxxxx>
  • From: Ian Jackson <ian.jackson@xxxxxxxxxx>
  • Date: Thu, 28 May 2020 16:36:54 +0100
  • Authentication-results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 28 May 2020 15:37:01 +0000
  • Ironport-sdr: fW9UcRnGtaSb/vQbF641kwn586xwA1LwZHfddXB+nK3WepsVMyx1sDlsiOEs32UkPyqbzyc1NT fm3wZkgmXhG2Zq7OFSfRho9E86TMfhtFiqN1QSBQTlUj8omLtRSrYyCS0oH8WJFGU10loMclO0 RBPaq0CI6ZInpHkMQhEzjDQWeWeOv0byxapIs+rS3m0r6RMPzzD3RanE4MHsTMScv9GZ9YxYpF FOUgd/FkjxPvGtyurdGDK4EDopUZRTzIBYWg3IybRLiMJUeT+KlXJgAIlFsjzlIQYO0QndLzj+ m44=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Jason Andryuk writes ("Re: [OSSTEST PATCH 01/38] ts-logs-capture: Cope if xl 
shutdown leaves domain running for a bit"):
> My understanding is shutdown happens first when the guest stops and
> destruction happens afterward when all the resources are cleaned up.
> So your race is that the domain shutdown, but it still shows up in `xl
> list` since it hasn't been destroyed.
> 
> OpenXT has a hack to only wait for destruction
> https://github.com/OpenXT/xenclient-oe/blob/master/recipes-extended/xen/files/xl-shutdown-wait-for-domain-death.patch.
> I didn't write it, and the explanation isn't specific, but I think the
> purpose is to all resources are released before the OpenXT toolstack
> proceeds with (blktap) cleanup.
> 
> Maybe a new `xl shutdown` flag to wait for domain destruction would be
> worthwhile?

Yes!  Repeating the -w flag maybe.

Ian.



 


Rackspace

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