← Back to team overview

openstack team mailing list archive

Re: [OpenStack][Nova]Start and Stop vm instances

 

    
>    Here is my question:
>    1. Is the stop operation of vm instance means to delete the vm and keep nothing except keep 
>    this record in databases ?
>    2. Is the start operation of vm means to creat a new vm instance according to the 
>    recorde in databases ?

While some hypervisors like Xen (Look at _shutdown method in nova/virt/xenapi/vmops.py) seem to have shutdown functionality,  for "libvirt_type=kvm" - there is no separate shutdown/stop.
(Probably that’s why) compute manager calls "self.driver.destroy" from _shutdown_instance() method  -  Look at nova/compute/manager.py if interested.

Hope this helps.

-Mandar
   


______________________________________________________________________
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data.  If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding

References