2 messages in com.xensource.lists.xen-develRe: [Xen-devel] [PATCH] Prevent vbd f...
FromSent OnAttachments
Horms26 Dec 2005 00:55 
Vincent Hanquez27 Dec 2005 07:31 
Subject:Re: [Xen-devel] [PATCH] Prevent vbd frontend from oopsing if the underlying device doesn't exist
From:Vincent Hanquez (vinc@cl.cam.ac.uk)
Date:12/27/2005 07:31:30 AM
List:com.xensource.lists.xen-devel

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.