From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4xOM-0000RP-3k for qemu-devel@nongnu.org; Mon, 02 Nov 2009 08:56:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4xOH-0000Oa-JM for qemu-devel@nongnu.org; Mon, 02 Nov 2009 08:56:17 -0500 Received: from [199.232.76.173] (port=48726 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4xOH-0000OV-3v for qemu-devel@nongnu.org; Mon, 02 Nov 2009 08:56:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:61896) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N4xOG-0005jp-Iz for qemu-devel@nongnu.org; Mon, 02 Nov 2009 08:56:12 -0500 Message-ID: <4AEEE4F8.1020409@redhat.com> Date: Mon, 02 Nov 2009 15:56:08 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE References: <4AEAFE39.1030302@us.ibm.com> <4AEED5EC.8000406@suse.de> <4AEED9D8.2020307@redhat.com> <4AEEDB75.3090100@suse.de> <4AEEDF86.7080009@redhat.com> <20091102135107.GA9856@morn.localdomain> In-Reply-To: <20091102135107.GA9856@morn.localdomain> 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: Kevin O'Connor Cc: Anthony Liguori , beth kon , Alexander Graf , Gleb Natapov , "qemu-devel@nongnu.org" On 11/02/2009 03:51 PM, Kevin O'Connor wrote: > On Mon, Nov 02, 2009 at 03:32:54PM +0200, Avi Kivity wrote: > >> On 11/02/2009 03:15 PM, Alexander Graf wrote: >> >>> They are taken with -d in_asm,cpu,int after doing: >>> >>> $ ./x86_64-softmmu/qemu-system-x86_64 -kernel ../kvm/arch/x86/boot/bzImage >>> >>> with a fresh checkout from your kvm kernel tree (make defconfig) and a >>> fresh git checkout of qemu (./configure --target-list=x86_64-softmmu) >>> >>> >>> They basically mean that with SeaBIOS the Linux loading code is trying >>> to jump off to zeros while at the same place there is useful data using >>> pcbios.bin. >>> >>> >> Is seabios clobbering memory? Gleb/Kevin? >> > I have not tested with the -kernel option before. I believe you may > be running into the clearing of memory that PMM does - see > malloc_finalize() in src/pmm.c. The PMM spec requires that low memory > be cleared before starting the boot process. > > Likely. Alex, does -kernel use memory below 1MB? Can it be moved elsewhere? If not, we probably need a protocol where the option rom loads the kernel from qemu, rather than qemu poking the kernel into memory. -- error compiling committee.c: too many arguments to function