From: Chris Wright Subject: Re: Greater than 16 xvd devices for blkfront Date: Wed, 7 May 2008 09:40:31 -0700 Message-ID: <20080507164031.GB18143@sequoia.sous-sol.org> References: <48209705.4030005@redhat.com> <20080507015502.GA2121@redhat.com> <20080507034726.GC2121@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20080507034726.GC2121@redhat.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: "Daniel P. Berrange" Cc: Chris Lalancette , xen-devel List-Id: xen-devel@lists.xenproject.org * Daniel P. Berrange (berrange@redhat.com) wrote: > + default: > + if (major > 202) { > + minor += (16 * 16 * (major - 202)); > + major = 202; > + } > + } I didn't think of handling overflow (since the major for scsi/ide/etc were involved, I expected that to fail). But, aside of crashing an older guest with > 16 disks (not ideal, but I think it's possible already with 0x format), seems good. thanks, -chris