libvirt: release serial console ports when destroying guests
The part of code responsible to release serial ports does not cover
all the cases. This commit moves that part inside the method _destroy
which is responsible for destroying the guest from a libvirt
perspective which is when we want to release ports.
Reviewed: https:/ /review. openstack. org/301247 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=95da4e87881 424524c8ddda6a5 46764d43eb755e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 95da4e878814245 24c8ddda6a54676 4d43eb755e
Author: Sahid Orentino Ferdjaoui <email address hidden>
Date: Mon Apr 4 10:24:23 2016 -0400
libvirt: release serial console ports when destroying guests
The part of code responsible to release serial ports does not cover
all the cases. This commit moves that part inside the method _destroy
which is responsible for destroying the guest from a libvirt
perspective which is when we want to release ports.
Change-Id: I24f2a1fa3b7ef3 f2a3196f3689e5f 2ba7d49bd87
Closes-Bug: #1489853