From: Ian Campbell Subject: Re: [PATCH 01/11] libxl: unify libxl__device_destroy and device_hotplug_done Date: Thu, 2 Aug 2012 11:11:10 +0100 Message-ID: <1343902270.27221.114.camel@zakaz.uk.xensource.com> References: <1343838260-17725-1-git-send-email-ian.jackson@eu.citrix.com> <1343838260-17725-2-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1343838260-17725-2-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2012-08-01 at 17:24 +0100, Ian Jackson wrote: > device_hotplug_done contains an open-coded but improved version of > libxl__device_destroy. So move the contents of device_hotplug_done > into libxl__device_destroy, deleting the old code, and replace it at > its old location with a function call. > > Also fix the error handling: the rc from the destroy should be > propagated into the aodev. > > Reported-by: Ian Campbell > Signed-off-by: Ian Jackson Acked-by: Ian Campbell