Skip to contentSkip to conversation

(Before) RFC for new features

Qemu-devel Natalia Portillo 5 participants 12 messages Jul 9, 2004 – Jul 10, 2004

lore
Share & tools
lore
#0 lore raw

* 1 Chipset (Intel Natoma)

We should have more?
If anyone can put more, great!

Quoted 54 lines

-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En nombre de Hetz Ben Hamo
Enviado el: viernes, 09 de julio de 2004 22:51
Para: [email protected]
Asunto: [Qemu-devel] (Before) RFC for new features

Quoted 3 lines · Fabrice Bellard

Hi,

As porting the SDL version to other OSes than Linux seems

to become an

Quoted 1 line

important issue, I plan to add the following features in

the next days:

I would like to raise an issue which I'm not sure if it was looked closely..

Lets see what do we have today:

* 3 Busses (ISA, ISA PnP, PCI)
* 4 Processors (Pentium Pro, Arm, PPC, Sparc)
* 4 Network cards (NE2000 ISA, AMD PCNet, NE2000 PCI, 3COM PnP ISA)
* 2 Graphics cards (VESA, Cirrus Logic)
* 2 Bioses (PPC BIOS, Generic Bochs/QEMU BIOS)
* 2 hard drive formats (RAW, COW)

And I'm sure I have forgotten few things, not mentioning QEMU is not that publicallyy published (wait for Slashdot effect)..

I think that something needed here: A plugin mechanism.

What I was thinking that QEMU missing is a way that upon running QEMU (either first time or doing a first scan), it should "scan" for new hardware and register them as plugins (with depenedencies, so you cannot use PPC BIOS with Pentium Pro processor ;) ). That way a new plugin (either open or closed source) can register itself and a user can simply use it without having to configure everything..

The method I was thinking was something like Xine player uses when initializing the player..

Fabrice, others, what do you think about it?

Thanks,
Hetz

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#1 lore raw
Quoted 4 lines · Natalia Portillo

* 1 Chipset (Intel Natoma)

We should have more?
If anyone can put more, great!

How many chipset do you know that support Intel's Pentium Pro? Another chipset might require MMX/SSE support, not mentioning the BIOS support which is needed...

Thanks,
Hetz

#2 lore raw

I remember there was a non Intel chipset that supports Pentium Pro. Also, if I dont remember bad (I saw this a long time ago), there are three Intel chipsets designed for Ppro: 430FX (Is in the Providence motherboard, single or dual), 440FX (I think also support Pentium II) and 430GX (is in the big brother of Providence, and supports QUAD cpu)

Quoted 26 lines

-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En nombre de Hetz Ben Hamo
Enviado el: sábado, 10 de julio de 2004 16:37
Para: [email protected]
Asunto: Re: [Qemu-devel] (Before) RFC for new features

Quoted 4 lines · Natalia Portillo

* 1 Chipset (Intel Natoma)

We should have more?
If anyone can put more, great!

How many chipset do you know that support Intel's Pentium Pro? Another chipset might require MMX/SSE support, not mentioning the BIOS support which is needed...

Thanks,
Hetz

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#3 lore raw
In reply to Hetz Ben Hamo
Quoted 9 lines · Hetz Ben Hamo
Quoted 4 lines · Natalia Portillo

* 1 Chipset (Intel Natoma)

We should have more?
If anyone can put more, great!

How many chipset do you know that support Intel's Pentium Pro? Another chipset might require MMX/SSE support, not mentioning the BIOS support which is needed...

I don't think that the chipset particularly cares what extended instructions the CPU can execute... However, BIOS support we are definitely lacking. IIRC, the BIOS we are using doesn't do any PCI setup
- so we rely on some code in pc.c and pci.c to make the chipset look configured and to set up the BARs.

Signature · 1 line
Antony T Curtis <[email protected]>
#4 lore raw

About the BIOS question we should have a modular BIOS.

Like AWARD, AMI, Phoenix, etc, BIOS, that have support for a great variety of chipsets and CPUs, and are compiled with required modules for each motherboard.

Quoted 37 lines

-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En nombre de Antony T Curtis
Enviado el: viernes, 09 de julio de 2004 18:33
Para: [email protected]
Asunto: Re: [Qemu-devel] (Before) RFC for new features

Quoted 7 lines · Hetz Ben Hamo
Quoted 4 lines · Natalia Portillo

* 1 Chipset (Intel Natoma)

We should have more?
If anyone can put more, great!

How many chipset do you know that support Intel's Pentium

Pro? Another

Quoted 1 line

chipset might require MMX/SSE support, not mentioning the

BIOS support

Quoted 1 line

which is needed...

I don't think that the chipset particularly cares what extended instructions the CPU can execute... However, BIOS support we are definitely lacking. IIRC, the BIOS we are using doesn't do any PCI setup
- so we rely on some code in pc.c and pci.c to make the chipset look configured and to set up the BARs.

--
Antony T Curtis <[email protected]>

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#5 lore raw
Quoted 6 lines · Natalia Portillo

About the BIOS question we should have a modular BIOS.

Like AWARD, AMI, Phoenix, etc, BIOS, that have support for a great variety of chipsets and CPUs, and are compiled with required modules for each motherboard.

A modular BIOS designed for qemu is ok (e.g. VGABios vs Bochs BIOS vs some other hand-written BIOS) but supporting a commercial BIOS written for actual hardware is another matter. This is very difficult as such a BIOS will expect different hardware in different places. Not to mention adding support for different types of motherboards/ROM chips. Its easier to just fix the current qemu BIOS.

P.S.

Someone is working on that iirc.... posted to the list a while back. They loaded qemu directly from a bootloader (so there was no host OS, only a guest OS) and did some hacking so qemu could access the host BIOS directly. So it is possible, just very hard.

Quoted 9 lines
Quoted 9 lines

I don't think that the chipset particularly cares what extended instructions the CPU can execute... However, BIOS support we are definitely lacking. IIRC, the BIOS we are using doesn't do any PCI setup
- so we rely on some code in pc.c and pci.c to make the chipset look configured and to set up the BARs.

--
Antony T Curtis <[email protected]>

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
#6 lore raw
Quoted 6 lines

P.S.

Someone is working on that iirc.... posted to the list a while back. They loaded qemu directly from a bootloader (so there was no host OS, only a guest OS) and did some hacking so qemu could access the host BIOS directly. So it is possible, just very hard.

URL?

Thanks,
Hetz

#7 lore raw
In reply to Jim C. Brown

Well I didn't say about using a real commercial modular BIOS, but making the QEMU BIOS modular as the commercial ones are.

Making the first, will be a HARD task, and, Award/AMI/Phoenix/MrBIOS won't let us to do that.
Both VMWare and VirtualPC pays for using a commercial BIOS in their products.

Quoted 55 lines

-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En nombre de Jim C. Brown
Enviado el: viernes, 09 de julio de 2004 21:43
Para: [email protected]
Asunto: Re: [Qemu-devel] (Before) RFC for new features

Quoted 4 lines · Natalia Portillo

About the BIOS question we should have a modular BIOS.

Like AWARD, AMI, Phoenix, etc, BIOS, that have support for a great variety of chipsets and CPUs, and are compiled with

required modules

Quoted 2 lines

for each motherboard.

A modular BIOS designed for qemu is ok (e.g. VGABios vs Bochs BIOS vs some other hand-written BIOS) but supporting a commercial BIOS written for actual hardware is another matter. This is very difficult as such a BIOS will expect different hardware in different places. Not to mention adding support for different types of motherboards/ROM chips. Its easier to just fix the current qemu BIOS.

P.S.

Someone is working on that iirc.... posted to the list a while back. They loaded qemu directly from a bootloader (so there was no host OS, only a guest
OS) and did some hacking so qemu could access the host BIOS directly. So it is possible, just very hard.

Quoted 3 lines
Quoted 3 lines

I don't think that the chipset particularly cares what extended instructions the CPU can execute... However, BIOS support we are definitely lacking. IIRC, the BIOS we are using doesn't

do any PCI

Quoted 2 lines
Quoted 2 lines

setup
- so we rely on some code in pc.c and pci.c to make the

chipset look

Quoted 4 lines
Quoted 4 lines

configured and to set up the BARs.

--
Antony T Curtis <[email protected]>

--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#8 lore raw
Quoted 7 lines · Natalia Portillo

Well I didn't say about using a real commercial modular BIOS, but making the QEMU BIOS modular as the commercial ones are.

Making the first, will be a HARD task, and, Award/AMI/Phoenix/MrBIOS won't let us to do that.
Both VMWare and VirtualPC pays for using a commercial BIOS in their products.

I don't care about the BIOS as long as it works with the hardware that QEMU emulates. I am very satisfied with the current Bochs BIOS. The only missing stuff is PCI init (it is currently done in QEMU), but it is very easy to add.

Of course if other people want to try other BIOSes, they are free to do it :-)

Fabrice.

#9 lore raw

Re: [Qemu-devel] RFC for new features

About the new features: none of them will be for the upcoming 0.6.0 release. Maybe for 0.6.1.

Some comments:

- The old console will still be available with a command line option.

- The disk images will support both free sector compression (as cow images) and "read-only" zlib based block compression, so that the FreeOSZoo disk images do not need to be decompressed. QEMU itself will never store compressed blocks as it is more complicated and less useful.

- The disk images will support AES based encryption.

- There will be no plugin system in the near future. Such systems are mainly useful for closed source project, which QEMU is not. Moreover, as in ffmpeg, I don't want to bother about binary compatibility and API stability at this stage of the project.

- The first version of config file will just contain the same as the command line options. Then someday there will be more options to add new hardware dynamically and to change some of its properties... but it will never use XML !

Fabrice.

#10 lore raw

Re: [Qemu-devel] RFC for new features

Quoted 6 lines · Fabrice Bellard

About the new features: none of them will be for the upcoming 0.6.0 release. Maybe for 0.6.1.

Some comments:

- The old console will still be available with a command line option.

Cool,

Quoted 4 lines

- The disk images will support both free sector compression (as cow images) and "read-only" zlib based block compression, so that the FreeOSZoo disk images do not need to be decompressed. QEMU itself will never store compressed blocks as it is more complicated and less useful.

How about lzo compression? It is vary fast for compression and decompression and doesn't require much memory to operate.

<snip>

Signature · 1 line
Antony T Curtis <[email protected]>
#11 lore raw

Re: [Qemu-devel] RFC for new features

Quoted 12 lines · Antony T Curtis
Quoted 5 lines · Fabrice Bellard

About the new features: none of them will be for the upcoming 0.6.0 release. Maybe for 0.6.1.

Some comments:

- The old console will still be available with a command line option.

Cool,

Quoted 6 lines
Quoted 2 lines

- The disk images will support both free sector compression (as cow
images) and "read-only" zlib based block compression, so that the FreeOSZoo disk images do not need to be decompressed. QEMU itself will never store compressed blocks as it is more complicated and less useful.

How about lzo compression? It is vary fast for compression and decompression and doesn't require much memory to operate.

I just want that downloaded images can be easily used. Compression for writing is less useful because hard disks are big enough, so it won't be available in the first implementation. I agree that LZO would be a good choice for a read/write compression system.

Fabrice.