fix start or stop vm problem

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>