There have been many different questions like this and all have seemed to come down to the same answer. It violates the EULA. The problem is they all bring up another question. How binding is the EULA. We all know Psystar was sued for making machines with OSX installed on them. The problem is they were selling them. Not using them.
Now what if you put it in a virtual machine and don't sell it. Is it still against the law? Apple has gotten sued before for taking their competitors apps off their market. Also Windows recently got in trouble for their secure boot which didn't allow people to install other OSs on hardware.
How legally binding is the EULA?
Is there a legal way to do it?