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] Prevent vbd frontend from oopsing if the underly

To: Horms <horms@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Prevent vbd frontend from oopsing if the underlying device doesn't exist
From: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxx>
Date: Tue, 27 Dec 2005 16:31:52 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 27 Dec 2005 15:35:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <doob6g$p6b$1@xxxxxxxxxxxxx>
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: <doob6g$p6b$1@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Mon, Dec 26, 2005 at 08:55:45AM +0000, Horms wrote:
> Prevent vbd frontend from oopsing if the underlying device doesn't exist.
> 
> connect() in blkfront.c was not checking the return value of xlvbd_add().
> In my case xlvbd_alloc_gendisk() was failing in xlvbd_add(), and the
> subsequent call to kick_pending_request_queues() barfed because info->rq
> was unitinialised.

Thanks, applied.
-- 
Vincent Hanquez

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

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