From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ewan Mellor Subject: Re: [PATCH] Fix block-detach of non-existent device Date: Wed, 5 Oct 2005 00:13:04 +0100 Message-ID: <20051004231304.GA16856@uk.xensource.com> References: <87k6gtx7et.fsf@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <87k6gtx7et.fsf@us.ibm.com> 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 On Tue, Oct 04, 2005 at 03:07:54PM -0700, Dan Smith wrote: > The attached patch prevents Xend from blowing up when a user tries to > detach a non-existent block device. > > I also added a check in xm to make sure that a numeric id is supplied, > instead of a device name. > > This will cause xm-test 04_block-destroy_nonattached_neg to pass. > > Signed-off-by: Dan Smith Thanks Dan. I've applied that. Ewan.