Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-10 Thread Avi Kivity
On 11/09/2009 08:41 PM, Glauber Costa wrote: pc.c: } else { /* High and recent kernel */ real_addr= 0x1; cmdline_addr = 0x2; prot_addr= 0x10; } If I'm not totally mistaken, 0x1 is 1MB :-). So yes, I think there should be

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-10 Thread Alexander Graf
On 10.11.2009, at 14:02, Avi Kivity wrote: On 11/09/2009 08:41 PM, Glauber Costa wrote: pc.c: } else { /* High and recent kernel */ real_addr= 0x1; cmdline_addr = 0x2; prot_addr= 0x10; } If I'm not totally mistaken, 0x1 is

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-10 Thread Avi Kivity
On 11/10/2009 03:03 PM, Alexander Graf wrote: Anywhere you put it the bios has a right to trample. Of course our bios (and its maintainer) are cooperative, but there's not reason to impose on that if we can do the right thing and load the data at the right moment. Right. The only thing

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-10 Thread Alexander Graf
On 10.11.2009, at 14:07, Avi Kivity wrote: On 11/10/2009 03:03 PM, Alexander Graf wrote: Anywhere you put it the bios has a right to trample. Of course our bios (and its maintainer) are cooperative, but there's not reason to impose on that if we can do the right thing and load the data

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-03 Thread Kevin O'Connor
On Tue, Nov 03, 2009 at 08:08:25AM +0200, Avi Kivity wrote: On 11/03/2009 08:02 AM, Kevin O'Connor wrote: On Tue, Nov 03, 2009 at 07:01:52AM +0200, Avi Kivity wrote: --- a/src/paravirt.c +++ b/src/paravirt.c @@ -23,8 +23,7 @@ qemu_cfg_select(u16 f) static void qemu_cfg_read(u8 *buf, int

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Alexander Graf
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

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Avi Kivity
On 11/02/2009 02:51 PM, Alexander Graf wrote: 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.

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Alexander Graf
Avi Kivity wrote: On 11/02/2009 02:51 PM, Alexander Graf wrote: 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

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Avi Kivity
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

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Kevin O'Connor
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

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Avi Kivity
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

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Alexander Graf
Avi Kivity wrote: 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

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Avi Kivity
On 11/02/2009 04:06 PM, Alexander Graf wrote: pc.c: } else { /* High and recent kernel */ real_addr= 0x1; cmdline_addr = 0x2; prot_addr= 0x10; } If I'm not totally mistaken, 0x1 is 1MB :-). So yes, I think there should be a

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Gleb Natapov
On Mon, Nov 02, 2009 at 01:51:56PM +0100, Alexander Graf wrote: 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

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Gleb Natapov
On Mon, Nov 02, 2009 at 04:51:47PM +0200, Gleb Natapov wrote: On Mon, Nov 02, 2009 at 01:51:56PM +0100, Alexander Graf wrote: 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

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Kevin O'Connor
On Mon, Nov 02, 2009 at 03:56:08PM +0200, Avi Kivity wrote: On 11/02/2009 03:51 PM, Kevin O'Connor wrote: On Mon, Nov 02, 2009 at 03:32:54PM +0200, Avi Kivity wrote: Is seabios clobbering memory? Gleb/Kevin? I have not tested with the -kernel option before. I believe you may be running into

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Alexander Graf
On 03.11.2009, at 05:50, Kevin O'Connor wrote: On Mon, Nov 02, 2009 at 03:56:08PM +0200, Avi Kivity wrote: On 11/02/2009 03:51 PM, Kevin O'Connor wrote: On Mon, Nov 02, 2009 at 03:32:54PM +0200, Avi Kivity wrote: Is seabios clobbering memory? Gleb/Kevin? I have not tested with the -kernel

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Avi Kivity
On 11/03/2009 06:50 AM, Kevin O'Connor wrote: If not, we probably need a protocol where the option rom loads the kernel from qemu, rather than qemu poking the kernel into memory. Yes, I'd prefer to see this. In earlier emails, Gleb made a reference to a qemu-cfg stream interface that is

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Avi Kivity
On 11/03/2009 06:57 AM, Alexander Graf wrote: Yes, I'd prefer to see this. In earlier emails, Gleb made a reference to a qemu-cfg stream interface that is used for acpi tables - maybe the kernel could be put in one of the streams and the rom could copy it into ram on boot. I don't think

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Kevin O'Connor
On Tue, Nov 03, 2009 at 07:01:52AM +0200, Avi Kivity wrote: That works too, but if firmware config can use rep/ins, that's one less interface we have to add. The following patch to seabios seems to work. I'm not sure if there are any special implications to qemu. -Kevin ---

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-11-02 Thread Avi Kivity
On 11/03/2009 08:02 AM, Kevin O'Connor wrote: On Tue, Nov 03, 2009 at 07:01:52AM +0200, Avi Kivity wrote: That works too, but if firmware config can use rep/ins, that's one less interface we have to add. The following patch to seabios seems to work. I'm not sure if there are any

Re: [Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-10-31 Thread Stefan Weil
Anthony Liguori schrieb: 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

[Qemu-devel] PC machine types switched to SeaBIOS/gPXE

2009-10-30 Thread Anthony Liguori
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.