removed duplication function poweron_vm