WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Fix block-detach of non-existent device

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] Fix block-detach of non-existent device
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Wed, 5 Oct 2005 00:13:04 +0100
Delivery-date: Tue, 04 Oct 2005 23:10:39 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <87k6gtx7et.fsf@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <87k6gtx7et.fsf@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
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 <danms@xxxxxxxxxx>

Thanks Dan.  I've applied that.

Ewan.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>