[openstack-dev] [nova][libvirt] why use domain destroy instead of shutdown?

melanie witt melwitt at outlook.com
Fri Jul 4 02:12:56 UTC 2014


Hi all,

I noticed in nova/virt/libvirt/driver.py we use domain destroy instead of domain shutdown in most cases (except for soft reboot). Is there a special reason we don't use shutdown to do a graceful shutdown of the guest for the stop, shelve, migrate, etc functions? Using destroy can corrupt the guest file system.

Thanks,
Melanie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140703/44aca986/attachment.pgp>


More information about the OpenStack-dev mailing list