RFC for new features
Hi,
As porting the SDL version to other OSes than Linux seems to become an important issue, I plan to add the following features in the next days:
- Virtual console handled by SDL (Ctrl-Shift-F1 to get the guest screen, Ctrl-Shift-F2 to get the monitor shell, and maybe Ctrl-Shift-F3 for various logs).
- Support for more compressed and cow disk images formats so that filesystems without hole support can use cow disk images too.
- New tool to create disk images, to compress them and to convert between any disk image formats.
- Config file support (syntax: qemu mypc.qmu)
Comments ?
Fabrice.
Quoted 9 lines · Fabrice Bellard
Hi,
As porting the SDL version to other OSes than Linux seems to become an important issue, I plan to add the following features in the next days:
- Virtual console handled by SDL (Ctrl-Shift-F1 to get the guest screen, Ctrl-Shift-F2 to get the monitor shell, and maybe Ctrl-Shift-F3 for various logs).
Quoted 7 lines
- Support for more compressed and cow disk images formats so that filesystems without hole support can use cow disk images too.
- New tool to create disk images, to compress them and to convert between any disk image formats.
- Config file support (syntax: qemu mypc.qmu)
If it would have some sort of generic interface for devices. (Though i must say that prunanciation of `qmu' puzzles me)
Signature · 1 line
mailto:[email protected]
Quoted 4 lines · malc
Quoted 1 line
- Config file support (syntax: qemu mypc.qmu)
If it would have some sort of generic interface for devices. (Though i must say that prunanciation of `qmu' puzzles me)
What do you mean by 'generic interface' ? The ability to set the IRQ/IOMEM/DMA of various devices (NE2K, SB16, etc)? That would be very useful.
qmu looks like Q - Mu to me (where Q is the letter Q and Mu is the Greek letter mu).
Quoted 9 lines
Signature · 8 lines
-- mailto:[email protected] _______________________________________________ Qemu-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/qemu-devel
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.
Dear Fabrice,
First and foremost, thank you for this marvelmous piece of work !
Quoted 6 lines · Fabrice Bellard
Hi,
As porting the SDL version to other OSes than Linux seems to become an important issue, I plan to add the following features in the next days:
- Virtual console handled by SDL (Ctrl-Shift-F1 to get the guest screen, Ctrl-Shift-F2 to get the monitor shell, and maybe Ctrl-Shift-F3 for various logs).
I fail to see the point for use in a GUI. Maybe for "autonomous" screens (à la Linux virtual consoles) ?
Quoted 2 lines
- Support for more compressed and cow disk images formats so that filesystems without hole support can use cow disk images too.
Nice idea ! Maybe also support for raw devices (dedicating a full HD to a given guest OS might be quite justifiable in some setups...) ?
Quoted 2 lines
- New tool to create disk images, to compress them and to convert between any disk image formats.
Corrolary of the previous one.
Quoted 1 line
- Config file support (syntax: qemu mypc.qmu)
This one is *the* most important ! enables easy use and configuration by non-technical users (hint : use an easily-parsed format, allowing for GUI frontends).
Quoted 1 line
Comments ?
I have some further ideas, which need to grow up a bit before public exposure. Furthermore, I'm still at odds with some difficulties with the current version (CVS from end June), that I want to solve before asking for more ...
Emmanuel Charpentier
On Thu, 2004-07-08 at 19:46, Emmanuel Charpentier wrote:
<snip>
Quoted 5 lines
Quoted 2 lines
- Support for more compressed and cow disk images formats so that filesystems without hole support can use cow disk images too.
Nice idea ! Maybe also support for raw devices (dedicating a full HD to a given guest OS might be quite justifiable in some setups...) ?
Hmm... I am already able to use raw devices, both CDROM and Hard disks.
One of the fun things I do is to boot FreeBSD Guest off a COW backed against the same partition that the FreeBSD Host is running.
Signature · 1 line
Antony T Curtis <[email protected]>
Quoted 12 lines
Emmanuel Charpentier wrote:
Quoted 8 lines · Fabrice Bellard
Hi,
As porting the SDL version to other OSes than Linux seems to become an important issue, I plan to add the following features in the next days:
- Virtual console handled by SDL (Ctrl-Shift-F1 to get the guest screen, Ctrl-Shift-F2 to get the monitor shell, and maybe Ctrl-Shift-F3 for various logs).
Good idea. Yes.
Quoted 2 lines
Quoted 2 lines
- Support for more compressed and cow disk images formats so that filesystems without hole support can use cow disk images too.
Well, maybe, but not critical.
Quoted 3 lines
I'm still at odds with some difficulties with the
current version (CVS from end June), that I want to solve before asking for more ...
I agree. Fabrice, it would be good to do a stable 0.5.6 release before moving on to this new stuff. It's been quite a while since 0.5.5 -- almost 2 months -- and I get the impression that quite a lot has improved in that time.
J
Quoted 7 lines · Emmanuel Charpentier
Quoted 1 line
- Config file support (syntax: qemu mypc.qmu)
This one is *the* most important ! enables easy use and configuration by non-technical users (hint : use an easily-parsed format, allowing for GUI frontends).
Emmanuel Charpentier
You can have that now. The shell script called vqemu makes using a configuration file for qemu easy. It just uses the config file to figure out which command line parameters to pass to qemu. (I'd expect the .qmu config file to be more bochs-like myself (the inability to change the default IRQ/IO addrs can be frustrating when installing a new OS in qemu for the first time).) The caveat is that the shell script won't work in Windows unless (maybe) you use Cygwin bash.
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.
Quoted 8 lines · Fabrice Bellard
Hi,
As porting the SDL version to other OSes than Linux seems to become an important issue, I plan to add the following features in the next days:
- Virtual console handled by SDL (Ctrl-Shift-F1 to get the guest screen, Ctrl-Shift-F2 to get the monitor shell, and maybe Ctrl-Shift-F3 for various logs).
sounds nice ... but there are a number of benefits with having the monitor shell as is...
Quoted 5 lines
- Support for more compressed and cow disk images formats so that filesystems without hole support can use cow disk images too.
- New tool to create disk images, to compress them and to convert between any disk image formats.
These sounds great
Quoted 1 line
- Config file support (syntax: qemu mypc.qmu)
It would be a nice feature if the hw devices can be dynamically loaded and 'installed' as per the config file.
Quoted 11 lines
Comments ?
Fabrice.
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
FLAGS (\Seen))
Signature · 1 line
Antony T Curtis <[email protected]>
Quoted 6 lines · Antony T Curtis
Quoted 5 lines · Fabrice Bellard
Hi,
As porting the SDL version to other OSes than Linux seems to become an important issue, I plan to add the following features in the next days:
Quoted 6 lines
Quoted 3 lines
- Virtual console handled by SDL (Ctrl-Shift-F1 to get the guest screen, Ctrl-Shift-F2 to get the monitor shell, and maybe Ctrl-Shift-F3 for various logs).
sounds nice ... but there are a number of benefits with having the monitor shell as is...
I agree. Perhaps on Linux this could be optional (i.e. with '-console-monitor' you get the old monitor, but on hosts that dont support those (i.e. Windows) that option would be ignored).
Quoted 4 lines
Quoted 1 line
- Config file support (syntax: qemu mypc.qmu)
It would be a nice feature if the hw devices can be dynamically loaded and 'installed' as per the config file.
Yes. I have a script that gives qemu config file support, but all it does is wrap the command line parameters. (It is still very useful and I'll probably keep it alive since it has a few things in it that qemu prolly wont, such as support for using vdeq.)
Quoted 21 lines
Quoted 12 lines
Comments ?
Fabrice.
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
FLAGS (\Seen))Signature · 8 lines
Antony T Curtis <[email protected]> _______________________________________________ Qemu-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/qemu-devel
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.
Quoted 3 lines · Jim C. Brown
I agree. Perhaps on Linux this could be optional (i.e. with '-console-monitor' you get the old monitor, but on hosts that dont support those (i.e. Windows) that option would be ignored).
Windows has console support - and the program doesn't have to be compiled for console to use it (just look at eg. Gimp - starts with no console, and if there are problems [or, if you eg. use --verbose switch], a console is open - but only if you didn't redirect stdout and stderr).
Signature · 4 lines
< Jernej Simoncic ><><><><>< http://deepthought.ena.si/ >
When the going gets tough, everybody leaves.
-- Lynch's LawQuoted 10 lines · Jernej Simon?i?
Quoted 3 lines · Jim C. Brown
I agree. Perhaps on Linux this could be optional (i.e. with '-console-monitor' you get the old monitor, but on hosts that dont support those (i.e. Windows) that option would be ignored).
Windows has console support - and the program doesn't have to be compiled for console to use it (just look at eg. Gimp - starts with no console, and if there are problems [or, if you eg. use --verbose switch], a console is open - but only if you didn't redirect stdout and stderr).
For 9x this isn't true unless the program uses the console subsystem. So a regular GUI program has no console.
In any case, this is moving away from my original point: I prefer the old behavior. The first is that I find it convient to be able to switch between the monitor (in an xterm) and the SDL window just by clicking. The second is that one can redirect qemu's input/output (and thus redirect the monitor) which makes hooking into the monitor (from perhaps a GUI wrapper - I am told that is what qemu workstation does) trivial.
Quoted 13 lines
Signature · 12 lines
-- < Jernej Simoncic ><><><><>< http://deepthought.ena.si/ > When the going gets tough, everybody leaves. -- Lynch's Law _______________________________________________ Qemu-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/qemu-devel
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.
Quoted 2 lines · Jim C. Brown
For 9x this isn't true unless the program uses the console subsystem. So a regular GUI program has no console.
Gimp (or, to be more precise GTK+/GLib) somehow get around this limit - I installed Windows 98 in qemu just to reconfirm, and when run normally, there is no console, but if you add the --verbose switch (or, if an error occurs), a console Window is opened.
Signature · 4 lines
< Jernej Simoncic ><><><><>< http://deepthought.ena.si/ >
Only God can make a random selection.
-- Levy's Ninth Law of the Disillusionment of the True LiberalQuoted 10 lines · Jernej Simon?i?
Quoted 2 lines · Jim C. Brown
For 9x this isn't true unless the program uses the console subsystem. So a regular GUI program has no console.
Gimp (or, to be more precise GTK+/GLib) somehow get around this limit - I installed Windows 98 in qemu just to reconfirm, and when run normally, there is no console, but if you add the --verbose switch (or, if an error occurs), a console Window is opened.
So we are agreed then: We like the old monitor and we want to keep it.
Quoted 12 lines
Signature · 11 lines
< Jernej Simoncic ><><><><>< http://deepthought.ena.si/ > Only God can make a random selection. -- Levy's Ninth Law of the Disillusionment of the True Liberal _______________________________________________ Qemu-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/qemu-devel
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.
Re: [Qemu-devel] RFC for new features (Console under Windows)
In reply to Jernej SimončičQuoted 9 lines · Jernej Simončič
Quoted 4 lines · Jim C. Brown
For 9x this isn't true unless the program uses the console subsystem. So a regular GUI program has no console.
Quoted 5 lines
Gimp (or, to be more precise GTK+/GLib) somehow get around this limit - I installed Windows 98 in qemu just to reconfirm, and when run normally, there is no console, but if you add the --verbose switch (or, if an error occurs), a console Window is opened.
This isn't problem at all, you can use the AllocConsole or AttachConsole API calls, but I think that's not needed. I still have a patch on my HDD that makes QEMU a console application and fixes the keyboard input (to the monitor) on Windows, but I doubt it would apply cleanly to current CVS.
Regards,
Filip
OT: Re: [Qemu-devel] RFC for new features
In reply to Jim C. BrownQuoted 7 lines · Jim C. Brown
Quoted 6 lines · Jernej Simon?i?
Quoted 3 lines · Jim C. Brown
I agree. Perhaps on Linux this could be optional (i.e. with '-console-monitor' you get the old monitor, but on hosts that dont support those (i.e. Windows) that option would be ignored).
Quoted 7 lines
Quoted 4 lines
Windows has console support - and the program doesn't have to be compiled for console to use it (just look at eg. Gimp - starts with no console, and if there are problems [or, if you eg. use --verbose switch], a console is open - but only if you didn't redirect stdout and stderr).
For 9x this isn't true unless the program uses the console subsystem. So a regular GUI program has no console.
Reminds me of my OS/2 days... a PM (GUI) app doesn't have a console.... And a console app cannot open windows. But there is a hack (involves writing to undocumented data) which allows a console app have windows. I discovered this by accident and used it for a native OS/2 Xlib implementation (Xlib->OS/2 GDI, may be googled by keyword "everblue")
Quoted 20 lines
In any case, this is moving away from my original point: I prefer the old behavior. The first is that I find it convient to be able to switch between the monitor (in an xterm) and the SDL window just by clicking. The second is that one can redirect qemu's input/output (and thus redirect the monitor) which makes hooking into the monitor (from perhaps a GUI wrapper - I am told that is what qemu workstation does) trivial.
Quoted 13 lines
Signature · 12 lines
-- < Jernej Simoncic ><><><><>< http://deepthought.ena.si/ > When the going gets tough, everybody leaves. -- Lynch's Law _______________________________________________ Qemu-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/qemu-devel
Signature · 1 line
Antony T Curtis <[email protected]>
Quoted 9 lines · Antony T Curtis
Quoted 8 lines · Fabrice Bellard
Hi,
As porting the SDL version to other OSes than Linux seems to become an important issue, I plan to add the following features in the next days:
- Virtual console handled by SDL (Ctrl-Shift-F1 to get the guest screen, Ctrl-Shift-F2 to get the monitor shell, and maybe Ctrl-Shift-F3 for various logs).
Great !
I'd also like to have a "device interface" to be able to create and use a new console, mainly for BIOS output and debug without having to use a serial port or qemu monitor.
[...]
Quoted 4 lines
Quoted 1 line
- Config file support (syntax: qemu mypc.qmu)
It would be a nice feature if the hw devices can be dynamically loaded and 'installed' as per the config file.
Sounds great only if the whole configuration can be overriden using the command line. It's a real pain having to edit config files everytime you need to change a parameter for testing...
But why mypc ? my_hw is more appropriate :-))
Signature · 2 lines
Jocelyn Mayer <[email protected]> Never organized
Quoted 1 line · Fabrice Bellard
Comments ?
I would like to see qemu faster in system emulation of x86 on x86 -- if it is ever possible -- vide my email in archive about speed of compilation on x86/solaris9 on x86 host.
Thanks,
Karel
--
Karel Gardas [email protected]
ObjectSecurity Ltd. http://www.objectsecurity.com
Quoted 2 lines · Karel Gardas
I would like to see qemu faster in system emulation of x86 on x86 -- if it is ever possible
This is the most important thing for me too. I know it is not easy. But it could be done by Little steps.
Quoted 4 lines · Julian Seward
I agree. Fabrice, it would be good to do a stable 0.5.6 release before moving on to this new stuff. It's been quite a while since 0.5.5 -- almost 2 months -- and I get the impression that quite a lot has improved in that time.
I agree too.
Quoted 1 line
Comments ?
Sounds great. These features will probably benefit FreeOSZoo users a lot.
When testing QEMU under Windows, it seemed like there was no CD-ROM access in qemu.exe. Are there plans or existing patches to access CD-ROM in the Windows port of QEMU?
Regards, Jean-Michel
Hi Fabrice,
XML format for the config file ?
Device emulation with code virtualization for x86 on x86 and ppc on ppc (ala lillyvm, colinux like techniques, or ??? ) ?
Thanks again to you, and everyone else that has contributed to this project for all of your excellent work.
Regards,
Brad Watson
Quoted 26 lines · --- Fabrice Bellard
Hi,
As porting the SDL version to other OSes than Linux seems to become an
important issue, I plan to add the following features in the next days:- Virtual console handled by SDL (Ctrl-Shift-F1 to get the guest screen,
Ctrl-Shift-F2 to get the monitor shell, and maybe Ctrl-Shift-F3 for
various logs).- Support for more compressed and cow disk images
formats so that
filesystems without hole support can use cow disk
images too.- New tool to create disk images, to compress them and to convert
between any disk image formats.- Config file support (syntax: qemu mypc.qmu)
Comments ?
Quoted 9 lines
Fabrice.
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
Quoted 3 lines · Fabrice Bellard
Hi,
As porting the SDL version to other OSes than Linux seems to become an important issue, I plan to add the following features in the next days:
Booting Windows XP (see my mail from earlier this week on the mailing list). I could really need some guidance for troubleshooting...
Thanks,
Jan
[Qemu-devel] (Before) RFC for new features
In reply to Fabrice BellardQuoted 3 lines · Fabrice Bellard
Hi,
As porting the SDL version to other OSes than Linux seems to become an 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
Re: [Qemu-devel] (Before) RFC for new features
Hi,
Quoted 6 lines · Hetz Ben Hamo
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..
There is already a plugin system. It requires you to recompile everytime you add a new piece of hardware, though. I don't think this is a problem as most likely you will have to recompile anyway to make sure the plugin uses the same header files as qemu's core.
Ciao,
Dscho
[Qemu-devel] plugins
Quoted 4 lines
There is already a plugin system. It requires you to recompile everytime you add a new piece of hardware, though. I don't think this is a problem as most likely you will have to recompile anyway to make sure the plugin uses the same header files as qemu's core.
Yes, but this plugin method is not very usefull for 3rd party plugins..
Many people don't realize one thing about QEMU which differs it from ANY other emulator: For the first time, you can create a "hardware card", write drivers for it and test it on guest OS's (Windows, Linux, *BSD, etc) and test it on other platforms (PPC, Sparc, ARM, once their core is matured).
Think about it: You can create a new PCI card without buying those all expensive software to simulate it, write drivers to test it and if it works well for your customer(s), you can do the real PCI card! Go try that with VMWare (you can't), BOCHS (good luck hacking their code, and see the speed difference), and I'm not even mentioning PPC, ARM or Sparc...
With a plugin system (all it takes is 2 files: an text/XML file which contains the info on this plugin, and a .so file which is the plugin itself) both closed source and open source developers can add lots of hardware to QEMU which can be used for driver development on Linux and on Windows (as well other guest OS's) without having the real hardware.
Have you ever thought to write driver for Linux for some hardware (which someone can writes a plugin) without having it? now you (potentially) can..
Just my thoughts...
Thanks,
Hetz
Re: [Qemu-devel] plugins
Quoted 7 lines
With a plugin system (all it takes is 2 files: an text/XML file which contains the info on this plugin, and a .so file which is the plugin itself) both closed source and open source developers can add lots of hardware to QEMU which can be used for driver development on Linux and on Windows (as well other guest OS's) without having the real hardware.
From what I know, QEMU is GPL'ed (only libqemu is LGPL'ed). So 'closed
source' developers can use this plug-in mechanism ... only if they do not release their .so :-)
Lionel
Signature · 1 line
Lionel Ulmer - http://www.bbrox.org/
Re: [Qemu-devel] plugins
Quoted 5 lines
Quoted 1 line
From what I know, QEMU is GPL'ed (only libqemu is LGPL'ed). So 'closed
source' developers can use this plug-in mechanism ... only if they do not release their .so :-)
Lionel
Lionel dear,
I would direct you to a previous project of Fabrice - FFMPEG, which Fabrice clearly indicated that he would be delight if closed source project would also use the FFMPEG (Macromedia for example already using it) and thats why he changed FFMPEG to LGPL license...
So I think that it would be logical from Fabrice to change the hardware parts license to LGPL or something like that.
Fabrice, whats your opinion?
Thanks,
Hetz
Re: [Qemu-devel] plugins
In reply to Hetz Ben HamoQuoted 1 line
With a plugin system (all it takes is 2 files: an text/XML file which contains the info on this plugin, and a .so file which is the plugin
Binary plugins, especially closed source ones, always create the problem of binary compatibility. QEMU's 0.5 version number already indicates that although it works very well already, it is nowhere near finished. Features change very quickly in CVS, just think about how pci was an experimental option a short while back and now it's the default. I think it would be really hard to come up with an API that would remain stable for multiple releases at this point. Also, the need to maintain backwards compatibility would hamper QEMU's development. And finally, creating and maintaining an API would drain lots of resources from QEMU development while benefiting only very few people who want to distribute closed source plugins. Maybe at a much later stage, when QEMU is stable and mature, binary plugins will make sense. But for now, it seems like the source code extensibility QEMU offers is good enough.
- Bartosz
Re: [Qemu-devel] plugins
Quoted 8 lines · Bartosz Fabianowski
Quoted 2 lines
With a plugin system (all it takes is 2 files: an text/XML file which contains the info on this plugin, and a .so file which is the plugin
Binary plugins, especially closed source ones, always create the problem of binary compatibility. QEMU's 0.5 version number already indicates that although it works very well already, it is nowhere near finished. Features change very quickly in CVS, just think about how pci was an experimental option a short while back and now it's the default.
Adding PCI could easily have been binary backwards compatible. Anyway, we're not talking about necissarily having a stable or backwards compatible ABI, just an API which makes developing new code simpler and makes each module more flexible. It doesn't have to be there to encourage out-of-tree development at all.
Quoted 7 lines
I think
it would be really hard to come up with an API that would remain stable for multiple releases at this point. Also, the need to maintain backwards compatibility would hamper QEMU's development. And finally, creating and maintaining an API would drain lots of resources from QEMU development while benefiting only very few people who want to distribute closed source plugins.
No developing and maintaining a stable or backwards compatible ABI would do that. An API that doesn't have to be stable or backwards compatible won't.
Quoted 3 lines
Maybe at a much later stage, when QEMU is stable
and mature, binary plugins will make sense. But for now, it seems like the source code extensibility QEMU offers is good enough.
No, I think plugins should be built from the main qemu source and external developers would ideally release new plugins as source distributions to compile against your qemu core. Anything else requires maintaining an ABI.
Another benefit of DSO based plugins is saving memory and virtual address space, only loading the plugins which are required. It would also save on disk space as common code can be shared amongst the various qemu targets.
Signature · 3 lines
// Gianni Tedesco (gianni at scaramanga dot co dot uk) lynx --source www.scaramanga.co.uk/scaramanga.asc | gpg --import 8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
Re: [Qemu-devel] plugins
In reply to Hetz Ben HamoQuoted 5 lines · Hetz Ben Hamo
With a plugin system (all it takes is 2 files: an text/XML file which contains the info on this plugin, and a .so file which is the plugin itself) both closed source and open source developers can add lots of hardware to QEMU which can be used for driver development on Linux and on Windows (as well other guest OS's) without having the real hardware.
2 files? whatever goes in the text/xml file can go inside the DSO just as easily...
Quoted 2 lines
Have you ever thought to write driver for Linux for some hardware (which someone can writes a plugin) without having it? now you (potentially) can..
All I'd like to see changed in the device API is the ability to have a bit more control over where devices go and make all devices clean to be used multiple times (ie. like you can have as many NICs as you like). Then I'd like to see hw/pc.c and hw/ppc.c etc.. go away to be replaced with 'hardware description files'...
I think that if you wanted to allow the same code to be used by each of the different CPU emulations, that would be more difficult and could slow things down at runtime.
Signature · 3 lines
// Gianni Tedesco (gianni at scaramanga dot co dot uk) lynx --source www.scaramanga.co.uk/scaramanga.asc | gpg --import 8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
Fabrice Bellard wrote:
[ that he wants our whishlists before porting the SDL version to other platforms. ]
Well, I have some wishes, but I'm not sure they fit well in your current worplans. Please feel free to discard them :
1) There are still some CPU emulation issues ; I can't diagnose them but I can prove that they exist :
After Win2k installation (whatever version), I have been unable to install
Mozilla 1.6. I have been able to install Mozilla 1.7, though. Windows being ... well, Windows, I've been unable to locate error logs. Go figure ...
It tool me 4 trials to find a Win2k version that would allow for the
installation of Office 2000. I tried to install Office 97 twice, with no luck. I didn't retry with the "correct" installation of Win2k.
The SP4 patch doesn't install (error a short while after unpacking)
The "disk full" issue while installing Win2k still happens every time.
None of this happens using the very same files/disks while installing on real hardware.
2) There are device emulation issues :
The current cirrusvga is a vast improvement over the previous bochs
device. However, pushing available memory to more than 4 Mb wold allow for better resolutions : 1024x768x16 is a bit limiting in some uses.
There are still serious issues with audio emulation. The current SB16/AXE
device can do simple things (playing the "opening" .wav file, etc ...), but trying to install Dragon voice recognition still fails very early (at the first sound that the installer tries to play), and crashes the whole emulation (the graphics window diseappear, and you're left with no mouse).
3) I still think that a virtualizer based on QEMU, while quite a bit more limited in scope than QEMU itself, would be extremely useful : letting user-level code not touching hardware run native and trapping anything related to I/O, memory-mapped I/O or changing protection level (allowing to run *that* on the emulated CPU) would allow for a nice acceleration. This would be a boon for all the people using QEMU to run hardware available for their CPU but not their platform (think Windows user running Linux/FreeBSD software and vice-versa), which may well be a majority among qemu users.
None of this is absolutely critical, and QEMU is already *extremely* useable (and useful ! ) as it is. The most critical are probably the CPU emulation issues, the least the virtualizer.
Hope this helps,
Emmanuel Charpentier
Quoted 19 lines · Emmanuel Charpentier
Fabrice Bellard wrote:
[ that he wants our whishlists before porting the SDL version to other platforms. ]
Well, I have some wishes, but I'm not sure they fit well in your current worplans. Please feel free to discard them :
1) There are still some CPU emulation issues ; I can't diagnose them but I can prove that they exist :
After Win2k installation (whatever version), I have been unable to install
Mozilla 1.6. I have been able to install Mozilla 1.7, though. Windows being .. well, Windows, I've been unable to locate error logs. Go figure ...
It tool me 4 trials to find a Win2k version that would allow for the
installation of Office 2000. I tried to install Office 97 twice, with no luck. I didn't retry with the "correct" installation of Win2k.
The SP4 patch doesn't install (error a short while after unpacking) The "disk full" issue while installing Win2k still happens every time.
Quoted 2 lines
None of this happens using the very same files/disks while installing on real hardware.
Yes - I think that there are instances where the simulation is wrong... OS/2 Warp 3 seems to suffer from GPFs when running applications consistantly and repeatably.
Quoted 9 lines
2) There are device emulation issues :
The current cirrusvga is a vast improvement over the previous bochs
device. However, pushing available memory to more than 4 Mb wold allow for better resolutions : 1024x768x16 is a bit limiting in some uses.
There are still serious issues with audio emulation. The current SB16/AXE
device can do simple things (playing the "opening" .wav file, etc ...), but trying to install Dragon voice recognition still fails very early (at the first sound that the installer tries to play), and crashes the whole emulation (the graphics window diseappear, and you're left with no mouse).
Well - the CL-GD544X chips can only handle 4MB of memory, maximum. For larger framebuffers, we would have to emulate a different video chip - If we wish to stick to Cirrus Logic, The Laguna CL-GD546x chips can address up to 16MB I think.... Of course, there are many other chips - I think perhaps the Tseng Labs ET6000 may be simple enough to simulate and would support a larger framebuffer.
Quoted 8 lines
3) I still think that a virtualizer based on QEMU, while quite a bit more limited in scope than QEMU itself, would be extremely useful : letting user-level code not touching hardware run native and trapping anything related to I/O, memory-mapped I/O or changing protection level (allowing to run *that* on the emulated CPU) would allow for a nice acceleration. This would be a boon for all the people using QEMU to run hardware available for their CPU but not their platform (think Windows user running Linux/FreeBSD software and vice-versa), which may well be a majority among qemu users.
Hmm... If a virtualizer is what is wanted, there are several options already available... "Xen" is supposedly very good.
I think QEmu's strength is that it is not a virtualizer - it is a system simulator.
Perhaps work can be done to get better performance when simulating the a similar system to the host... but perhaps there would be more real benefit in attemting to make the translator optimise the code it generates... LUA has already been mentioned as a possible alternative code generator.
Quoted 15 lines
None of this is absolutely critical, and QEMU is already *extremely* useable (and useful ! ) as it is. The most critical are probably the CPU emulation issues, the least the virtualizer.
Hope this helps,
Emmanuel Charpentier
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
FLAGS (\Seen))
Signature · 1 line
Antony T Curtis <[email protected]>
Quoted 4 lines · Antony T Curtis
Quoted 4 lines
2) There are device emulation issues :
The current cirrusvga is a vast improvement over the previous bochs
device. However, pushing available memory to more than 4 Mb wold allow for better resolutions : 1024x768x16 is a bit limiting in some uses.
Huh - I don't think there are any specific pitch restrictions on this chipset.
4M should allow 1280x1024@24bpp (or 1152x864@32bpp). Is that not enougth?
Quoted 4 lines
Well - the CL-GD544X chips can only handle 4MB of memory, maximum. For larger framebuffers, we would have to emulate a different video chip - If we wish to stick to Cirrus Logic, The Laguna CL-GD546x chips can address up to 16MB I think....
Nope. Only 8M. The architecture has scope for 2 RAMBUS channels, but they only implemented chips with 1 RAMBUS channel. One of the fields in the channel control register is 3 bits, identifying the number of 1M ram banks available... (Someone who has spent too long playing with Laguna chips).
Besides, the Laguna is a more complex beast with a 3 operand BitBLT engine...
DF
[Qemu-devel] 3Dfx... Just guessing
In reply to Antony T CurtisHi.
I'm just thinkig...
Guessing...
Is it possible to emulate a 3Dfx chip?
There are available documents, etc?
The 3Dfx are the most supported 3D cards.
Have drivers for DOS, Windows, MacOS, Linux, BSD, any system where XFree86 works, etc.
But I think that nVidia has "ghosted" all available information, as they did with the 3Dfx webpage and drivers. :(
Re: [Qemu-devel] 3Dfx... Just guessing
SiS6326 seems a better choice because it is documented and well supported. It was my target before I improved the submitted Cirrus patch.
Fabrice.
Quoted 22 lines · Natalia Portillo
Hi.
I'm just thinkig...
Guessing...Is it possible to emulate a 3Dfx chip?
There are available documents, etc?The 3Dfx are the most supported 3D cards.
Have drivers for DOS, Windows, MacOS, Linux, BSD, any system where XFree86 works, etc.But I think that nVidia has "ghosted" all available information, as they did with the 3Dfx webpage and drivers. :(
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
RE: [Qemu-devel] 3Dfx... Just guessing
Well I wans't proposing 3Dfx for be emulated, but just asking if it is possible and if there is the documentation.
Quoted 45 lines
-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En nombre de Fabrice Bellard
Enviado el: sábado, 10 de julio de 2004 14:07
Para: [email protected]
Asunto: Re: [Qemu-devel] 3Dfx... Just guessingSiS6326 seems a better choice because it is documented and well supported. It was my target before I improved the submitted Cirrus patch.
Fabrice.
Quoted 17 lines · Natalia Portillo
Hi.
I'm just thinkig...
Guessing...Is it possible to emulate a 3Dfx chip?
There are available documents, etc?The 3Dfx are the most supported 3D cards.
Have drivers for DOS, Windows, MacOS, Linux, BSD, any system where XFree86 works, etc.But I think that nVidia has "ghosted" all available information, as they did with the 3Dfx webpage and drivers. :(
Quoted 5 lines
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
RE: [Qemu-devel] 3Dfx... Just guessing
Quoted 3 lines · Natalia Portillo
Well I wans't proposing 3Dfx for be emulated, but just asking if it is possible and if there is the documentation.
Sure, as long as you do the work :-)
-ishwar
RE: [Qemu-devel] 3Dfx... Just guessing
Quoted 5 lines
Quoted 1 line
Well I wans't proposing 3Dfx for be emulated, but just
asking if it is
Quoted 2 lines
possible and if there is the documentation.
Sure, as long as you do the work :-)
Tech me how to, and I'll do.
Re: [Qemu-devel] 3Dfx... Just guessing
In reply to Natalia PortilloQuoted 8 lines · Natalia Portillo
Hi.
I'm just thinkig...
Guessing...Is it possible to emulate a 3Dfx chip?
There are available documents, etc?
Quoted 8 lines
The 3Dfx are the most supported 3D cards.
Have drivers for DOS, Windows, MacOS, Linux, BSD, any system where XFree86 works, etc.But I think that nVidia has "ghosted" all available information, as they did with the 3Dfx webpage and drivers. :(
I have a PCI 3Dfx chip, so if we go this route I may be able to help.
Quoted 4 lines
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.
Re: [Qemu-devel] 3Dfx... Just guessing
Quoted 9 lines · Jim C. Brown
Quoted 8 lines · Natalia Portillo
Hi.
I'm just thinkig...
Guessing...Is it possible to emulate a 3Dfx chip?
There are available documents, etc?
Quoted 6 lines
Quoted 6 lines
The 3Dfx are the most supported 3D cards.
Have drivers for DOS, Windows, MacOS, Linux, BSD, any system where XFree86 works, etc.But I think that nVidia has "ghosted" all available information, as they did with the 3Dfx webpage and drivers. :(
I'm uploading the voodoo 3 (avenger) specs to
http://www.scaramanga.co.uk/stuff/voodoo3_spec.pdf (2.9MB) for the interested.
Signature · 3 lines
// Gianni Tedesco (gianni at scaramanga dot co dot uk) lynx --source www.scaramanga.co.uk/scaramanga.asc | gpg --import 8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
Quoted 9 lines
Quoted 8 lines
3) I still think that a virtualizer based on QEMU, while quite a bit more limited in scope than QEMU itself, would be extremely useful : letting user-level code not touching hardware run native and trapping anything related to I/O, memory-mapped I/O or changing protection level (allowing to run *that* on the emulated CPU) would allow for a nice acceleration. This would be a boon for all the people using QEMU to run hardware available for their CPU but not their platform (think Windows user running Linux/FreeBSD software and vice-versa), which may well be a majority among qemu users.
Quoted 4 lines
Hmm... If a virtualizer is what is wanted, there are several options already available... "Xen" is supposedly very good.
I think QEmu's strength is that it is not a virtualizer - it is a system simulator.
Xen requires modification of guest OS does it not? The problem with that approach (Dynamo) is that one cannot use it to run commercial OSes.
Quoted 5 lines
Perhaps work can be done to get better performance when simulating the a similar system to the host... but perhaps there would be more real benefit in attemting to make the translator optimise the code it generates... LUA has already been mentioned as a possible alternative code generator.
What is LUA? Could you please post a link?