Fix Virtual Machine States
multiple hosts and bugfixes