I have a Macbook Pro with a partitioned drive that hosts Arch linux and OSX. Linux is my main development environment but occasionally a need arises to test some code on OSX. This doesn't happen often. It makes me think that, rather than dual booting, I can point some sort of virtualization software at the OSX partition and boot it up.
The question is, what sort of software (preferably free) would allow me to boot up OSX in a VM? Are there any pitfalls that I should avoid with this setup?