Working bayes in virtual machine