Click here to Skip to main content
15,846,144 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
I am really interested in applications such as vmware or virtual box so I came up with the idea to build my own implementation of a VM, but I have no idea how it could be done nor where to start!

Thanks in advance!
Updated 16-Jan-11 6:53am
Manfred Rudolf Bihy 16-Jan-11 11:56am    
Building something like a VM is not an easy task and if you're doing this just out curiosity my best bet for you would be studying an existing implementation. See my answer for a link to the download site where you also find links to the source code.
Sergey Alexandrovich Kryukov 16-Jan-11 12:57pm    
My 5 just for bravery. Please see my comment to Manfred's answer.

1 solution

Please see here for an open source virtual machine VirtualBox. You can get the source code from its download site. Study the source code and you'll get an idea of how to achieve this yourself. Studying existing solutions is a great way of learning and getting new ideas.

VirtualBox downloads[^]

Best Regards,
Share this answer
Sergey Alexandrovich Kryukov 16-Jan-11 12:56pm    
Good answer, useful reference - my 5.
A short note: the task is so difficult that I would advice just the opposite, try from scratch first. Why? This is my method. If the task is really difficult, I would probably had problems to understand the work of others; simply not prepared for this reading. Facing the problems (even if being defeated) provides some preparation; but also there can be a chance to invent something which other couldn't (this chance would be completely supressed by studying).
Needless to say, it requires serious level, far above a typical level of other inquirer.
Sergey Alexandrovich Kryukov 16-Jan-11 12:59pm    
It was an interesting idea to vote "1" for this answer.
I invite this voter for a short friendly discussion. :-)
Manfred Rudolf Bihy 16-Jan-11 13:12pm    
@SAKryukow: Your concept about trying something first even if you fail in it does have its merits. You are most certainly right in stating that this way is the way to find out what you don't yet know. And I definitely agree that this kind of work is at a level well above the usual inquirer.
Espen Harlinn 16-Jan-11 15:54pm    
5+ Why doesn't MS just pilfer this excellent solution :)
maryamtooty 18-Jan-11 9:31am    
even i try to download virtual box source code and click on download link face to this message:
You don't have permission to access "" on this server.
Reference #18.d55293e.1295360690.bfbfc62
i can't understand what's wrong!?
would you just help me

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900