Hi Sebgoa! Thanks for your suggest. I knew how to start/stop VM, but what I wanted is pause a VM without shutdown (or stop in CS term). Using "virsh" could "suspend" a VM, but I doubt it is a real "suspend" which will capture the current VM memory. I guess this feature relies on unsupported "virtual machine snapshot" for kvm, right?
Nevo On Jan 7, 2014, at 1:43 AM, sebgoa <run...@gmail.com> wrote: > > On Dec 30, 2013, at 1:29 PM, Nevo <snowge...@gmail.com> wrote: > >> Hi all! >> Sorry if my question (see the subject) has been asked before, as it's indeed >> (http://markmail.org/message/apchw5rsf4xgevt4?q=list:org%2Eapache%2Eincubator%2Ecloudstack-%2A+suspend). >> But since I saw no further update on that issue, maybe I could check out >> here first. My box is running cloudstack 4.2.0 on ubuntu 12.04 (desktop). >> The hypervisor is kvm as you probably know. it would be great to be able to >> suspend/resume my VMs now and then so I could have my PC take a break >> sometimes. Can anyone suggest whether it's possible to support that? It >> seems we can do it via "virsh": >> https://help.ubuntu.com/community/KVM/Managing , but not cloudstack API? >> > > Hi, you can start/stop Vm with the API : > http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/startVirtualMachine.html > > try it with cloud monkey: https://pypi.python.org/pypi/cloudmonkey/ > >> Thanks! >> >> >> Nevo >