2008-02-06 01:57:43 +03:00
|
|
|
This is the "roadmap" posted in the mailing list, augmented by
|
|
|
|
comments from the mailing list and the irc chat.
|
2004-03-15 16:20:15 +03:00
|
|
|
Anybody is welcome to work on any of these issues. Some of
|
2008-02-06 01:57:43 +03:00
|
|
|
these items are rather simple and can be implemented by single
|
|
|
|
individuals. Other items are quite complex and development needs
|
|
|
|
to be coordonated. So, if you want to contribute, please drop
|
|
|
|
us a note in the mailing list, so you can get help or exchange
|
2004-03-15 16:20:15 +03:00
|
|
|
ideas.
|
|
|
|
Christophe Bothamy.
|
|
|
|
|
|
|
|
0. Donations
|
|
|
|
Source Forge recently set up a donation system for hosted projects.
|
2008-02-06 01:57:43 +03:00
|
|
|
Should we accept donations ? What could we do with the money ?
|
|
|
|
- give to EFF, FSF or other
|
2004-03-15 16:20:15 +03:00
|
|
|
- fund Kevin to continue the work on plex86 so we can use it
|
2008-02-06 01:57:43 +03:00
|
|
|
- bounties for somebody write optimized win9x/NT/XFree/linux/*BSD
|
2004-03-15 16:20:15 +03:00
|
|
|
drivers for our vga/net/ide cards
|
|
|
|
- other ?
|
2006-08-25 15:58:55 +04:00
|
|
|
Status in Bochs 2.3:
|
2005-05-25 00:33:58 +04:00
|
|
|
No decisions about this yet.
|
2004-03-15 16:20:15 +03:00
|
|
|
|
2006-01-21 19:43:45 +03:00
|
|
|
1. Speed
|
|
|
|
Speed (well lack of) is one of the biggest criticism made by users
|
|
|
|
who'd like to see Bochs run as fast as Virtual PC.
|
|
|
|
Paths we can explore to get more speed :
|
2009-03-28 13:42:42 +03:00
|
|
|
1.1 virtualization : plex86
|
|
|
|
1.2 dynamic translation : qemu
|
2005-05-25 00:33:58 +04:00
|
|
|
Status:
|
2008-11-06 22:37:19 +03:00
|
|
|
Some work has been done for Bochs 2.3.7 but still long way is ahead.
|
2005-05-25 00:33:58 +04:00
|
|
|
|
2009-03-28 13:42:42 +03:00
|
|
|
2 multithreading. Conn Clark wrote :
|
|
|
|
Threading might be nice too, for those of us who have SMP/SMT machines.
|
|
|
|
I have a patch from Mathis (who hangs out on the IRC channel all the
|
|
|
|
time) that puts the video card interface in its own thread. It has
|
|
|
|
troubles though that I have not resolved. It may also be easier to debug
|
|
|
|
a threaded peripheral.
|
|
|
|
I also think that it might be possible to thread a chunk of the CPU
|
|
|
|
emulation to improve performance on a SMP/SMT machine. Specificaly
|
|
|
|
write_virtual_dword, write_virtual_word, write_virtual_byte, etc...
|
|
|
|
might just be able to be threaded. I think the threading overhead might
|
|
|
|
be less than the protection and address translation code. We would have
|
|
|
|
to try it to find out. I'm also sure there can be some nasty hurdles to
|
|
|
|
overcome.
|
|
|
|
Status:
|
2009-11-03 11:52:09 +03:00
|
|
|
Third party group started a para-Bochs project exactly to reach above goals,
|
2009-03-28 13:42:42 +03:00
|
|
|
some beta version is already released.
|
|
|
|
The home page of the project: http://grid.hust.edu.cn/cluster/VirtualMachine/main.html
|
|
|
|
|
|
|
|
3. Plugin architecture
|
|
|
|
3.1 The plugin architecture can be reworked if we want to support
|
2006-01-21 20:19:46 +03:00
|
|
|
multiple similar devices like seral net or vga cards.
|
2008-02-06 01:57:43 +03:00
|
|
|
We currently have two "types" of plugins: "core" and "optional".
|
|
|
|
Maybe we could add "classes" of plugins. The current version of
|
|
|
|
Bochs supports the classes "display_library" and "io_device".
|
|
|
|
New classes can be "config_interface", "net_lowlevel" and
|
2006-01-21 20:19:46 +03:00
|
|
|
"sound_lowlevel"
|
2009-03-28 13:42:42 +03:00
|
|
|
3.2 Stanislav wrote :
|
2006-01-21 20:19:46 +03:00
|
|
|
Plugin architecture should be rewritten like real plugin architecture s.t.
|
2008-02-06 01:57:43 +03:00
|
|
|
Bochs VGA plugin for example will be real plugin. I mean that replacement
|
|
|
|
of plugin dll in already compiled Bochs will replace Bochs VGA card and
|
2006-01-21 20:19:46 +03:00
|
|
|
the new card will be detected automatically.
|
|
|
|
This will allow for example developing of plugins separately from Bochs.
|
2009-03-28 13:42:42 +03:00
|
|
|
3.3 Michael Brown wrote :
|
2008-02-06 01:57:43 +03:00
|
|
|
If the configuration interface is to be reworked, could we also make it so
|
|
|
|
that plugins are self-contained, rather than needing to pollute config.cc
|
2006-01-21 20:19:46 +03:00
|
|
|
with code for defining and parsing plugin-specific options
|
|
|
|
Status:
|
2006-08-25 15:58:55 +04:00
|
|
|
A little bit of the basic work is done now: The config parameter handling has
|
|
|
|
been rewritten to a parameter tree and user-defined bochsrc options are now
|
|
|
|
supported. The main plugin architecture rewrite is not done yet.
|
2006-01-21 20:19:46 +03:00
|
|
|
|
2009-03-28 13:42:42 +03:00
|
|
|
4. PCI host<->guest proxy
|
2008-02-06 01:57:43 +03:00
|
|
|
Being able to use a real pci device from inside Bochs would be a
|
2004-03-15 16:20:15 +03:00
|
|
|
great feature of Bochs. It would ease reverse engineering of non
|
|
|
|
documented cards, or one could even use a real spare vga card.
|
|
|
|
Frank Cornellis has done a great job on this subject, and we began
|
2008-02-06 01:57:43 +03:00
|
|
|
integrating his changes.
|
2005-05-25 00:33:58 +04:00
|
|
|
Status:
|
2006-08-25 15:58:55 +04:00
|
|
|
The pcidev device is present in CVS and it has been updated for the new PCI
|
|
|
|
infrastructure, but the new code is untested yet.
|
2005-05-25 00:33:58 +04:00
|
|
|
|
2009-03-28 13:42:42 +03:00
|
|
|
5. Subdirectories in iodev
|
2004-03-15 16:20:15 +03:00
|
|
|
The iodev directory contains the various implemented iodevice.
|
2008-02-06 01:57:43 +03:00
|
|
|
With the new pci devices, new harddrives and new net access methods,
|
2004-03-15 16:20:15 +03:00
|
|
|
it could be interesting to add new subdirectories like :
|
|
|
|
iodev/video/... --> for standard vga and new card emulation
|
|
|
|
iodev/disks/... --> for the ata/atapi classes, hd/cd classes and host accesses
|
|
|
|
iodev/net/... --> for ne2k and host net access
|
|
|
|
isa and pci devices would be mixed in the directories, but this should
|
|
|
|
be manageable.
|
2005-05-25 00:33:58 +04:00
|
|
|
Status:
|
|
|
|
Not done yet.
|
2004-03-15 16:20:15 +03:00
|
|
|
|
2006-01-21 20:19:46 +03:00
|
|
|
6. CPU
|
|
|
|
6.1 This was asked in the ml, and I believe it's a good idea to provide
|
2004-03-15 16:20:15 +03:00
|
|
|
a configure switch to set the cpu model, for example :
|
|
|
|
--with-cpu-386
|
|
|
|
--with-cpu-486dx
|
|
|
|
--with-cpu-pentium
|
|
|
|
--with-cpu-pentium-mmx
|
|
|
|
--with-cpu-k6-iii
|
|
|
|
--with-cpu-amd64
|
|
|
|
and so on. The main difficulty here is to set up the list of features
|
2008-02-06 01:57:43 +03:00
|
|
|
by cpu model. I started such a list, available at
|
2004-03-15 16:20:15 +03:00
|
|
|
http://cbothamy.free.fr/projects/bochs/CPU_Features.sxc
|
|
|
|
The configure script will then set up constants on features to compile in,
|
2008-02-06 01:57:43 +03:00
|
|
|
ISA, FPU, MMX, 3DNOW, SSE, etc... Most of the feature flags already
|
2004-03-15 16:20:15 +03:00
|
|
|
exists in config.h, so this should be easy. It would also be a good
|
|
|
|
idea to clean up the cpuid function beased on those flags.
|
|
|
|
We also have to keep in mind that some features are also enablable
|
|
|
|
by the guest os.
|
|
|
|
Please note the all features are still not supported/complete in Bochs.
|
2008-02-06 01:57:43 +03:00
|
|
|
6.2 Stanislav thinks that configure --with-cpu-pentium-mmx --enable-cpu-level-4
|
2004-03-15 16:20:15 +03:00
|
|
|
would create lots of conflicts in the generated config.h. He suggests
|
2008-02-06 01:57:43 +03:00
|
|
|
that we should write an external GUI configure script that would propose
|
2004-03-15 16:20:15 +03:00
|
|
|
standard or custom cpus and would detect conflicts.
|
2005-05-25 00:33:58 +04:00
|
|
|
Status:
|
|
|
|
Not done yet.
|
2004-03-15 16:20:15 +03:00
|
|
|
|
2006-01-21 20:19:46 +03:00
|
|
|
7. VGA
|
2006-01-21 19:43:45 +03:00
|
|
|
For SVGA emulation we have Bochs VBE and the Cirrus adapter. We should have
|
|
|
|
a look at the voodoo3 (specs http://v3tv.sourceforge.net/docs.php).
|
2005-05-25 00:33:58 +04:00
|
|
|
Status:
|
2006-01-21 19:43:45 +03:00
|
|
|
Not done yet.
|
2004-03-15 16:20:15 +03:00
|
|
|
|
2006-01-21 20:19:46 +03:00
|
|
|
8. Random thoughts on disk emulation improvements :
|
|
|
|
8.1 lba48 support
|
|
|
|
8.2 autodetection of disk size / geometry
|
|
|
|
8.3 uml cow disk image support
|
|
|
|
8.4 compressed disk image support
|
2008-02-06 01:57:43 +03:00
|
|
|
8.5 extend redolog-disk specification to add coherency check of the flat
|
2004-03-15 16:20:15 +03:00
|
|
|
image file, by storing its fstat-mtime field in the redolog.
|
2005-05-25 00:33:58 +04:00
|
|
|
Status:
|
2006-08-25 15:58:55 +04:00
|
|
|
Autodetection now works for all image types created with bximage and vmware3
|
2007-09-10 19:21:05 +04:00
|
|
|
images. LBA48 and vmware4 disk images support was added in Bochs 2.3.5 release.
|
|
|
|
The other items are not done yet.
|
2004-03-15 16:20:15 +03:00
|
|
|
|
2006-01-21 20:19:46 +03:00
|
|
|
9. net
|
2008-02-06 01:57:43 +03:00
|
|
|
9.1 bootable ethernet rom ?
|
2004-03-15 16:20:15 +03:00
|
|
|
see etherboot, Micheal Brown wrote :
|
2008-02-06 01:57:43 +03:00
|
|
|
This already works; you can build an Etherboot rom image with the pnic
|
|
|
|
driver, specify it as an option ROM in bochsrc and it will boot. I'm
|
2004-03-15 16:20:15 +03:00
|
|
|
using this extensively at the moment in Etherboot development.
|
|
|
|
In the Etherboot project's CVS, in the contrib/bochs directory, you can
|
2008-02-06 01:57:43 +03:00
|
|
|
find a working bochsrc file and an up-to-date README with step-by-step
|
2004-03-15 16:20:15 +03:00
|
|
|
instructions on getting this working.
|
2005-05-25 00:33:58 +04:00
|
|
|
Status:
|
|
|
|
The pnic device is present in CVS, but the status is unknown.
|
2004-03-15 16:20:15 +03:00
|
|
|
|
2006-01-21 20:19:46 +03:00
|
|
|
10. Bios
|
2009-11-03 11:52:09 +03:00
|
|
|
10.1 add "jump table placeholder" and log missing function calls in the bios.
|
2004-03-15 16:20:15 +03:00
|
|
|
Check completness with Ralf Brown interrupt list.
|
2005-05-25 00:33:58 +04:00
|
|
|
Status:
|
2006-01-21 19:43:45 +03:00
|
|
|
Not done yet.
|
2009-11-03 11:52:09 +03:00
|
|
|
10.2 use Coreboot or SeaBios as possible alternatives/extensions to
|
|
|
|
Bochs Bios ROM we have.
|
|
|
|
Status:
|
|
|
|
Not done yet.
|
2004-03-15 16:20:15 +03:00
|
|
|
|
2006-01-21 20:19:46 +03:00
|
|
|
11. LGPL VGABios
|
|
|
|
11.1 Video parameters table
|
2008-02-06 01:57:43 +03:00
|
|
|
There is a very nice parameter table in 3dfx banshee document
|
2004-03-15 16:20:15 +03:00
|
|
|
http://www2.lm-sensors.nu/~lm78/pdfs/Banshee_2d_spec.PDF
|
|
|
|
see also http://www.xyzzy.claranet.de/dos/vgacrt.c
|
2005-05-25 00:33:58 +04:00
|
|
|
Status:
|
2006-08-25 15:58:55 +04:00
|
|
|
The new version 0.6a of the LGPL'd VGABIOS has minimal support for the video
|
|
|
|
parameter table.
|
2004-03-15 16:20:15 +03:00
|
|
|
|
2006-01-21 20:19:46 +03:00
|
|
|
12. Optimized Guest drivers still needed : VGA, IDE, NET
|
2004-03-15 16:20:15 +03:00
|
|
|
We have a specific VGA driver for winNT/2K, but still
|
|
|
|
lack drivers for other OSes.
|
2005-05-25 00:33:58 +04:00
|
|
|
Status:
|
|
|
|
Not done yet.
|
2004-03-15 16:20:15 +03:00
|
|
|
|
2006-01-21 20:19:46 +03:00
|
|
|
13. USB support
|
2006-01-21 19:43:45 +03:00
|
|
|
Ben Lunt has been working on USB support. The USB mouse and keypad code
|
|
|
|
is present in Bochs and almost stable. USB flash disk support has been
|
|
|
|
started and the runtime device change support should be completed.
|
2005-05-25 00:33:58 +04:00
|
|
|
Status:
|
2006-01-21 20:19:46 +03:00
|
|
|
Under construction.
|
2004-03-15 16:20:15 +03:00
|
|
|
|
2007-09-10 19:21:05 +04:00
|
|
|
14. Config file and dynamic menu
|
|
|
|
14.1 Benjamen R. Meyer wrote :
|
2004-03-15 16:20:15 +03:00
|
|
|
I think we should rework the .bochsrc file to be more standard across all
|
|
|
|
devices. I like how the USB configuration is done in it, and think we should
|
|
|
|
put something similar together for everything else. In otherwords, create
|
|
|
|
something that can be easily used for everything, and make it easier to
|
|
|
|
configure in the process.
|
|
|
|
From what I can tell right now, most of the configuration lines are randomly
|
|
|
|
thrown together as each gets implemented or added, instead of having
|
|
|
|
something that is based on a standard approach to the configuration.
|
|
|
|
The result should be something that would be able to easily auto-configured
|
|
|
|
by another program (a configuration editor?) with minimal changes necessary
|
|
|
|
when new devices/features are added.
|
2008-02-06 01:57:43 +03:00
|
|
|
14.2 Franck Cornelis wrote : the config system needs some work...
|
2004-03-15 16:20:15 +03:00
|
|
|
e.g. the main menu is static while it could be generated at run-time...
|
2008-02-06 01:57:43 +03:00
|
|
|
the main menu text lives somewhere in a file... while it should be generated
|
2004-03-15 16:20:15 +03:00
|
|
|
at run-time by iterating the main menu objects
|
2005-05-25 00:33:58 +04:00
|
|
|
Status:
|
2006-08-25 15:58:55 +04:00
|
|
|
The config options handling has been rewritten to a parameter tree.
|
2004-03-15 16:20:15 +03:00
|
|
|
|
2009-03-28 13:42:42 +03:00
|
|
|
15. lowlevel serial support for Windows.
|
2004-03-15 16:20:15 +03:00
|
|
|
Volker is currently working on this.
|
2005-05-25 00:33:58 +04:00
|
|
|
Status:
|
|
|
|
Not yet complete (transmit works, receive is losing data).
|
2004-03-15 16:20:15 +03:00
|
|
|
|
2009-03-28 13:42:42 +03:00
|
|
|
16. Parallel port
|
2004-03-15 16:20:15 +03:00
|
|
|
Conn Clark wrote :
|
2008-02-06 01:57:43 +03:00
|
|
|
I would like to see better parallel port support so I can use a dongle.
|
|
|
|
This is something I would find very useful as it would mean I wouldn't
|
|
|
|
have to boot back into windows ever again. I also recognize that this
|
|
|
|
may require a kernel module be written, which is beyond my current
|
|
|
|
skills. I know others will find this useful as I have had to tell a
|
|
|
|
few people that their parallel port driven peripherals that require a
|
2004-03-15 16:20:15 +03:00
|
|
|
bidirectional parallel port won't work.
|
2005-05-25 00:33:58 +04:00
|
|
|
Status:
|
|
|
|
Not done yet.
|
2007-09-10 19:21:05 +04:00
|
|
|
|
2009-11-03 11:52:09 +03:00
|
|
|
17. Guest-To-Host Communication
|
|
|
|
Try to adapt VirtualBox guest-to-host communication methods into Bochs.
|
|
|
|
Having VirtualBox Shared Folders or VNAT support in Bochs could very
|
|
|
|
simplify its usage.
|
|
|
|
|
|
|
|
18. Patches / Bug reports
|
2007-09-10 19:21:05 +04:00
|
|
|
There are dozens of patches floating around. Some are outdated,
|
2008-02-06 01:57:43 +03:00
|
|
|
don't apply cleanly, are obsolete/unneeded. We could try to do
|
2007-09-10 19:21:05 +04:00
|
|
|
some clean-up, and keep only relevent ones.
|
2008-02-06 01:57:43 +03:00
|
|
|
We should also clean up the SF bug tracker. Some bugreports are
|
2007-09-10 19:21:05 +04:00
|
|
|
very old and we asked for more information with no response.
|
|
|
|
Status:
|
|
|
|
There is some progress, but still a lot of work to do.
|
|
|
|
|
2009-11-03 11:52:09 +03:00
|
|
|
19. Positions
|
2007-09-10 19:21:05 +04:00
|
|
|
If you want to help without coding, here are available positions :
|
2009-11-03 11:52:09 +03:00
|
|
|
19.1 Webmaster : update website (Jan Bruun Andersen offered to help)
|
|
|
|
19.2 patch coordonator : look at incoming patches (sourceforge and
|
2007-09-10 19:21:05 +04:00
|
|
|
mailing list) and upload / update in the cvs patches directory.
|
2009-11-03 11:52:09 +03:00
|
|
|
19.3 platform maintainers for macos / win32
|
|
|
|
19.4 disk image maintainer : create and maintain our collection
|
2007-09-10 19:21:05 +04:00
|
|
|
of disk images. Usually, only the configuration file needs to be
|
2008-02-06 01:57:43 +03:00
|
|
|
updated, and old bios files have to be removed. Some packages
|
2007-09-10 19:21:05 +04:00
|
|
|
still contain very old bios files, they should definitely have
|
|
|
|
to be removed.
|
|
|
|
Status:
|
|
|
|
More active developers are needed to do the things described above.
|
|
|
|
|
2009-11-03 11:52:09 +03:00
|
|
|
20. Bochs demo cd/dvd
|
2008-02-06 01:57:43 +03:00
|
|
|
With version 2.1, it is now technically possible to use disk images
|
|
|
|
on a read-only media, with a journal files on a read/write media.
|
|
|
|
It would be great to create a demo cd/dvd with executables for
|
|
|
|
supported platforms, configuration files and read-only disk
|
|
|
|
images, the journal files would be written in a temporary
|
2007-09-10 19:21:05 +04:00
|
|
|
directory on the harddisk.
|
|
|
|
Status:
|
|
|
|
Not done yet.
|
|
|
|
|
2009-11-03 11:52:09 +03:00
|
|
|
21. Other CPU architectures : arm, ppc
|
2007-09-10 19:21:05 +04:00
|
|
|
This has been asked in the mailing list. I'm not really
|
2008-02-06 01:57:43 +03:00
|
|
|
interested, but other people might be. Should we propose to
|
|
|
|
host the new CPUs code in our source tree, or should we let
|
2007-09-10 19:21:05 +04:00
|
|
|
people fork ?
|
|
|
|
Status:
|
|
|
|
Not done yet.
|