From: Keir Fraser Subject: Re: [PATCH] multi-page blkfront/blkback patch Date: Fri, 28 Nov 2008 09:22:57 +0000 Message-ID: References: <492FBCE4.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <492FBCE4.76E4.0078.0@novell.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: Jan Beulich , Geoffrey Lefebvre Cc: Andrew Warfield , Dutch Meyer , Samvel Yuri , xen-devel , Samuel Thibault List-Id: xen-devel@lists.xenproject.org On 28/11/08 08:41, "Jan Beulich" wrote: >> +#ifndef CONFIG_XEN_BLKDEV_NUM_RING_PAGES >> +#error "CONFIG_XEN_BLKDEV_NUM_RING_PAGES undefined!" >> +#endif > > This won't work when building unmodified_drivers - I'm not sure what value > to default to here, though. But for compatibility it should probably be 1, > and the unmodified drivers' Kbuild could override it if desired. It should be a module parameter anyway. I don't think there's anything particularly hard about choosing ring size at run time rather than build time. -- Keir