Received: from [140.186.70.92] (port=36629 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Om3ca-0002kr-IH for qemu-devel@nongnu.org; Thu, 19 Aug 2010 07:49:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Om3QE-0000JJ-H8 for qemu-devel@nongnu.org; Thu, 19 Aug 2010 07:36:39 -0400 Received: from os.inf.tu-dresden.de ([141.76.48.99]:41515) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Om3QE-0000It-AI for qemu-devel@nongnu.org; Thu, 19 Aug 2010 07:36:38 -0400 Date: Thu, 19 Aug 2010 13:36:35 +0200 From: Adam Lackorzynski Subject: Re: [Qemu-devel] [PATCH] multiboot: Prevent loading of x86_64 images Message-ID: <20100819113635.GI22245@os.inf.tu-dresden.de> References: <20100819112414.GH22245@os.inf.tu-dresden.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-devel@nongnu.org On Thu Aug 19, 2010 at 13:27:32 +0200, Alexander Graf wrote: > > On 19.08.2010, at 13:24, Adam Lackorzynski wrote: > > > A via -kernel supplied x86_64 ELF image is being started in 32bit mode. > > Detect and exit if a 64bit image has been supplied. > > According to the multiboot spec, this is the expected behavior, no? At least Xen does it that way... Yes, but then the supplied ELF-image should say it's a 32bit one and switch to 64bit mode itself. That's at least how we do load a 64bit kernel. Adam -- Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/