From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=57845 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Om5rW-00043b-Ik for qemu-devel@nongnu.org; Thu, 19 Aug 2010 10:12:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Om5rU-0002zU-Vj for qemu-devel@nongnu.org; Thu, 19 Aug 2010 10:12:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45186) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Om5rU-0002zL-OR for qemu-devel@nongnu.org; Thu, 19 Aug 2010 10:12:56 -0400 Message-ID: <4C6D3BE6.8080706@redhat.com> Date: Thu, 19 Aug 2010 17:12:54 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] multiboot: Prevent loading of x86_64 images References: <20100819112414.GH22245@os.inf.tu-dresden.de> <4C6D2B5F.40805@redhat.com> <29F80855-96F3-429F-9AFB-44009B107487@suse.de> <4C6D3A3B.1060001@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 08/19/2010 05:10 PM, Alexander Graf wrote: >>> >>>> We rely on the existing behaviour in kvm-unit-tests.git. Tests (.flat files) are 64-bit elf binaries that are loaded in 32-bit more and switch immediately to 64-bit. >>>> >>>> We can easily wrap them in a 32-bit elf, but that's a needless complication. >>> Well, but if they wouldn't work in grub that doesn't help too much, right? >> Since the processor vendors don't use kvm-unit-tests.git to test their silicon, most people use qemu -kernel to run the unit tests, not grub. > It would potentially also help the unit tests, as running them in grub would allow for easy verification on real hardware too. True. We need to write an INT 10 driver and a serial driver for this to work. -- error compiling committee.c: too many arguments to function