For developing web applications I run a development environment on OSX, this environment includes Django and apache with mod_wsgi. My staging server and production server are both virtual machines using KVM, running Ubuntu (10.04) with apache, mod_wsgi, mysql, solr on jetty.
As a result bringing new versions from staging to production server is hassle-free, just copy the VM from staging to production. Going from development to staging is painful though.
So may question is :
is there a way to use a VM running ubuntu on my mac that can be (easily) exported to a VM running on linux?
I've briefly looked into Virtual Box, but it's unclear to me if there's a reasonable chance this will work. Other stuff like virtuozzo/openVZ doesn't run on OSX apparantly.