From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Pau Monne Subject: [PATCH 0 of 2] libxl: fix domain destruction with libxl hotplug script calling Date: Mon, 05 Dec 2011 11:10:04 +0100 Message-ID: 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.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org When calling hotplug scripts from libxl we have to make sure the device is disconnected before attepmting to execute hotplug scripts. This patch series sets frontend status to 6 when a domain is destroyed, so the devices are disconnected and then execute hotplug scripts. Also the syntax of the libxl_domain_destroy has been changed to always force the destruction. This series should be applied after "libxl: add support for hotplug script calling from libxl". Please review, Roger.