From: Ian Campbell Subject: Re: [PATCH] hvmloader: fix SeaBIOS interface Date: Fri, 23 Aug 2013 13:46:31 +0100 Message-ID: <1377261991.2348.20.camel@kazak.uk.xensource.com> References: <521774E402000078000EDFF6@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VCql7-0006eL-EH for xen-devel@lists.xenproject.org; Fri, 23 Aug 2013 12:46:33 +0000 In-Reply-To: <521774E402000078000EDFF6@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Fri, 2013-08-23 at 13:42 +0100, Jan Beulich wrote: > The SeaBIOS ROM image may validly exceed 128k in size, it's only our > interface code that so far assumed that it wouldn't. Remove that > restriction by setting the base address depending on image size. > > Add a check to HVM loader so that too big images won't result in silent > guest failure anymore. > > Uncomment the intended build-time size check for rombios, moving it > into a function so that it would actually compile. > > Signed-off-by: Jan Beulich Acked-by: Ian Campbell > - .bios_address = SEABIOS_PHYSICAL_ADDRESS, > + .bios_address = 0x100000 - sizeof(seabios), Do we rely on the seabios build to pad this, or are arbitrary sizes aloud? (Doesn't invalidate my Ack, just curious) Ian.