Added a new function getVMs(),which return all the VM instances as a
list.

Signed-off-by: huangdada <huangdada@huangdada-PC>


Signed-off-by: huangdada <huangdada@huangdada-PC>