From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4wOG-0007xi-7U for qemu-devel@nongnu.org; Mon, 02 Nov 2009 07:52:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4wOC-0007v4-8e for qemu-devel@nongnu.org; Mon, 02 Nov 2009 07:52:07 -0500 Received: from [199.232.76.173] (port=57731 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4wOB-0007uv-MY for qemu-devel@nongnu.org; Mon, 02 Nov 2009 07:52:03 -0500 Received: from cantor2.suse.de ([195.135.220.15]:37924 helo=mx2.suse.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N4wOB-0007J3-2b for qemu-devel@nongnu.org; Mon, 02 Nov 2009 07:52:03 -0500 Message-ID: <4AEED5EC.8000406@suse.de> Date: Mon, 02 Nov 2009 13:51:56 +0100 From: Alexander Graf MIME-Version: 1.0 Subject: Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE References: <4AEAFE39.1030302@us.ibm.com> In-Reply-To: <4AEAFE39.1030302@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Kevin O'Connor , beth kon , "qemu-devel@nongnu.org" , Gleb Natapov , Avi Kivity Anthony Liguori wrote: > Hi, > > I just wanted to let everyone know that I've switched the PC machine > type to SeaBIOS and gPXE. SeaBIOS is a port of the Bochs BIOS to GCC, > by Kevin O'Conner, along with quite a lot of clean up and new feature > work. > > gPXE is the new development tree of etherboot which is now > deprecated. We've done a lot of testing of and while there are a few > outstanding issues, almost everything seems to be working okay. > > Some known issues: > o e1000 pxe booting doesn't seem to work > o gPXE does not like the slirp tftp server > o SeaBIOS doesn't support CPU hotplug (not an issue for upstream qemu) > > I've renamed the old pcbios to pcbios.bin. If you suspect a bug in > SeaBIOS, you can use "-bios pcbios.bin" to try with the old BIOS in an > effort to debug. > > I want to thank everyone who helped make this all happen. It was a > big effort and I think it's going to be a really nice feature for the > 0.12.0 release! > -kernel (w/ Linux) breaks. With SeaBIOS: EAX=00001000 EBX=00000000 ECX=00000000 EDX=00000000 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00007bae EIP=00000025 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =1000 00010000 0000ffff 00009300 CS =c900 000c9000 0000ffff 00009b0f SS =1000 00010000 0000ffff 00009300 DS =0000 00000000 0000ffff 00009300 FS =0000 00000000 0000ffff 00009300 GS =0000 00000000 0000ffff 00009300 LDT=0000 00000000 0000ffff 00008200 TR =0000 00000000 0000ffff 00008b00 GDT= 000fcc00 00000037 IDT= 00000000 000003ff CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 DR6=ffff0ff0 DR7=00000400 CCS=00000000 CCD=00000000 CCO=EFLAGS ---------------- IN: 0x00000000000c9025: mov %ax,%ds 0x00000000000c9027: mov $0x1000,%ax 0x00000000000c902a: mov %ax,%fs 0x00000000000c902c: mov $0xc1e0,%ax 0x00000000000c902f: mov %ax,%gs 0x00000000000c9031: mov $0x0,%eax 0x00000000000c9037: mov $0x0,%ecx 0x00000000000c903d: mov $0x0,%edx 0x00000000000c9043: mov $0x0,%ebx 0x00000000000c9049: mov $0xfff0,%esp 0x00000000000c904f: mov $0x0,%ebp 0x00000000000c9055: mov $0x0,%esi 0x00000000000c905b: mov $0x0,%edi 0x00000000000c9061: ljmp $0x1020,$0x0 EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000000 ESI=00000000 EDI=00000000 EBP=00000000 ESP=0000fff0 EIP=00000000 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =1000 00010000 0000ffff 00009300 CS =1020 00010200 0000ffff 00009b0f SS =1000 00010000 0000ffff 00009300 DS =1000 00010000 0000ffff 00009300 FS =1000 00010000 0000ffff 00009300 GS =c1e0 000c1e00 0000ffff 00009300 LDT=0000 00000000 0000ffff 00008200 TR =0000 00000000 0000ffff 00008b00 GDT= 000fcc00 00000037 IDT= 00000000 000003ff CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 DR6=ffff0ff0 DR7=00000400 CCS=00000000 CCD=00000000 CCO=EFLAGS ---------------- IN: 0x0000000000010200: add %al,(%bx,%si) ############################################ ############################################ ############################################ With BochBIOS: EAX=00001000 EBX=00008e10 ECX=0009e080 EDX=00000000 ESI=000e0000 EDI=0000fdba EBP=0000fff2 ESP=0000fff8 EIP=00000025 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =1000 00010000 0000ffff 00009300 CS =c900 000c9000 0000ffff 00009b0f SS =1000 00010000 0000ffff 00009300 DS =0000 00000000 0000ffff 00009300 FS =0000 00000000 0000ffff 00009300 GS =0000 00000000 0000ffff 00009300 LDT=0000 00000000 0000ffff 00008200 TR =0000 00000000 0000ffff 00008b00 GDT= 000fb867 00000030 IDT= 00000000 000003ff CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 DR6=ffff0ff0 DR7=00000400 CCS=00000055 CCD=00000000 CCO=LOGICW ---------------- IN: 0x00000000000c9025: mov %ax,%ds 0x00000000000c9027: mov $0x1000,%ax 0x00000000000c902a: mov %ax,%fs 0x00000000000c902c: mov $0xa1d8,%ax 0x00000000000c902f: mov %ax,%gs 0x00000000000c9031: mov $0x0,%eax 0x00000000000c9037: mov $0x0,%ecx 0x00000000000c903d: mov $0x0,%edx 0x00000000000c9043: mov $0x0,%ebx 0x00000000000c9049: mov $0xfff0,%esp 0x00000000000c904f: mov $0x0,%ebp 0x00000000000c9055: mov $0x0,%esi 0x00000000000c905b: mov $0x0,%edi 0x00000000000c9061: ljmp $0x1020,$0x0 EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000000 ESI=00000000 EDI=00000000 EBP=00000000 ESP=0000fff0 EIP=00000000 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =1000 00010000 0000ffff 00009300 CS =1020 00010200 0000ffff 00009b0f SS =1000 00010000 0000ffff 00009300 DS =1000 00010000 0000ffff 00009300 FS =1000 00010000 0000ffff 00009300 GS =a1d8 000a1d80 0000ffff 00009300 LDT=0000 00000000 0000ffff 00008200 TR =0000 00000000 0000ffff 00008b00 GDT= 000fb867 00000030 IDT= 00000000 000003ff CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 DR6=ffff0ff0 DR7=00000400 CCS=00000055 CCD=00000000 CCO=LOGICW ---------------- IN: 0x0000000000010200: jmp 0x10264