Best free virtualizer

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
dude101
Member
Member
Posts: 56
Joined: Thu Apr 09, 2009 10:26 pm

Best free virtualizer

Post by dude101 »

What do you guys think is best, QEMU, VirtualPC, or VirtualBox?
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Best free virtualizer

Post by Troy Martin »

VirtualBox. Don't ask why, it's just free, fast, and easy to configure. And I like it.
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
ruisleipa
Member
Member
Posts: 46
Joined: Wed Sep 10, 2008 8:39 am
Location: Finland

Re: Best free virtualizer

Post by ruisleipa »

I use both QEMU and Bochs. QEMU is faster, but for debugging I prefer Bochs because of its built-in debugger.
http://code.google.com/p/rmmtos/ - Real Mode MultiTasking Operating System
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: Best free virtualizer

Post by Brynet-Inc »

VirtualBox doesn't emulate the x86 properly.. and they're not interested in fixing it.

http://marc.info/?l=openbsd-misc&m=120492689515501&w=2
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
extremecoder
Member
Member
Posts: 59
Joined: Tue May 23, 2006 11:00 pm

Re: Best free virtualizer

Post by extremecoder »

Virtual box always throws error, when I want to mount USB's ...
I always use VMWare server 1.0.8, which is free ...
Infact i am running Server OS in that only (FreeBSD) ...
gedd
Member
Member
Posts: 104
Joined: Thu Apr 10, 2008 1:47 am

Re: Best free virtualizer

Post by gedd »

VirtualBox is excellent and is developpement is continuous and very active , last version 2.2.2 few day ago

I suggest it for developpement and all other to test.
- qemu
- virtual PC
- vmware player (you have to modify configuration file)
and finaly a real PC

NOTE : Bochs 2.4 is comming soon with some interesting feature from the changelog :
- Added graphical Bochs debugger frontend for most of the supported platforms.
[ Grub 2 | Visual Studio 2013 | PE File ]
The OsDev E.T.
Don't send OsDev MIB !
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: Best free virtualizer

Post by Brendan »

Hi,
dude101 wrote:What do you guys think is best, QEMU, VirtualPC, or VirtualBox?
IMHO the idea is to have as many real computers as possible and as many emulators as possible, to increase the chance of finding compatibility problems in your OS. Basically, use all of these emulators (and Bochs, and anything else you can get your hands on).

For OS debugging, I use Bochs - it's extremely flexible (e.g. able to emulate a very wide variety of CPUs), and the internal debugger is extremely useful (and recently some nice people added a graphical front-end to it, making it even better!)... ;)


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Best free virtualizer

Post by Troy Martin »

Now, in all OSDev-sided honesty: I test in Virtual PC. I don't know why, it just works for me.
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Best free virtualizer

Post by Combuster »

Bochs for debugging, VirtualPC for more real-like tests. A real computer for the real deal.

IMO qemu and other VMs have little more to add than "just another test case"
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Kevin
Member
Member
Posts: 1071
Joined: Sun Feb 01, 2009 6:11 am
Location: Germany
Contact:

Re: Best free virtualizer

Post by Kevin »

Heretic! qemu is the one and only! Okay, I am biased... ;)

Seriously, qemu is faster than bochs, supports lots of hardware, quite a few architectures and so on, plus it's not bad for debugging either (I don't know bochs too well, so I won't compare to bochs's debugging). This makes it a really good test platform. bochs is great for the first steps in Protected Mode because it has nice error messages, but once you're settled I think qemu (possibly with KVM) is what you want to use for development.

For testing, you'll obviously take everything you can get.
Developer of tyndur - community OS of Lowlevel (German)
User avatar
Zenith
Member
Member
Posts: 224
Joined: Tue Apr 10, 2007 4:42 pm

Re: Best free virtualizer

Post by Zenith »

Well, Bochs DOES have a fully integrated and functional GUI debugger that allows you to query the state of any portion of the CPU or memory, step through assembly instructions, set breakpoints, log exceptions and interrupts and more. And also, many possible configurations like SMP, NICs and even a simulated Cirrus video card are available. (However, QEMU actually supports more than the x86 and x86-64 architecture, so it's your call.)

But of course, all of these features are completely irrelevant. 8)
"Sufficiently advanced stupidity is indistinguishable from malice."
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: Best free virtualizer

Post by 01000101 »

I use bochs for normal library function testing and lower-level debugging (due to its debugging features).
I use QEMU and VirtualBox-OSE for their network card support.

They're all good, and I can't pick "a best" as they all would have a major flaw (to me) by themselves. I'd much prefer a ton of real hardware though.
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Re: Best free virtualizer

Post by pcmattman »

Hi,

I use QEMU as it's fast, and it's the only emulator which supports 3C90X cards.

That, and it's extremely easy to configure/script - command line - and its usermode network stack is extremely useful for quick testing.
User avatar
quanganht
Member
Member
Posts: 301
Joined: Fri May 16, 2008 7:13 pm
Location: Hanoi, Vietnam

Re: Best free virtualizer

Post by quanganht »

I used to like VMWare cause it's the most accurate virtualizer. But since Bochs got 2.4, it is the best, althought the configuration is a little PITA. It should auto load the config used from the last time, so I can open it, and hit "Start" :)
"Programmers are tools for converting caffeine into code."
User avatar
salil_bhagurkar
Member
Member
Posts: 261
Joined: Mon Feb 19, 2007 10:40 am
Location: India

Re: Best free virtualizer

Post by salil_bhagurkar »

I guess Bochs is the best. I use QEMU since I compile and run 100 times a minute :twisted: . Bochs is better if its an earlier version. Newer ones are slow at boot time.
Post Reply