Using Mac in a virtual machine legality?
Snow Leopard Server specifically allowed installation in a VM.  Normal Lion and Mountain Lion also allow installation in the VM in the EULA.  Parallels and VMWare both support installation of Mac OS X guest machines for those versions.

The EULA only allows it if the VMs are running on Apple hardware.