suspend function is implemented for VirtualMachine.
Implementation of resume function's been changed.