From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sander Eikelenboom Subject: xl shutdown --wait "racy" Date: Wed, 16 Apr 2014 16:08:21 +0200 Message-ID: <415828617.20140416160821@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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. So it seems the wait loop is exiting somewhat prematurely, is this expected ? -- Sander