看看这个方案,虚拟化方式运行linux,超小负荷:
http://www.pagetable.com/?p=831xhyve – Lightweight Virtualization on OS X Based on bhyve
super lightweight, only 230 KB in size
completely standalone, no dependencies
the only BSD-licensed virtualizer on OS X
does not require a kernel extension (bhyve’s kernel code was ported to user mode code calling into Hypervisor.framework)
multi-CPU support
networking support
can run off-the-shelf Linux distributions (and could be extended to run other operating systems)