[libvirt] [openstack-dev] [nova] The risk of hanging when shutdown instance.

Michal Privoznik mprivozn at redhat.com
Mon Mar 30 12:08:53 UTC 2015


On 30.03.2015 11:28, zhang bo wrote:
> On 2015/3/28 18:06, Rui Chen wrote:
>
>> <snip/>
>
>   The API virDomainShutdown's description is out of date, it's not correct.
>   In fact, virDomainShutdown would block or not, depending on its mode. If it's in mode *agent*, then it would be blocked until qemu founds that the guest actually got down.
> Otherwise, if it's in mode *acpi*, then it would return immediately.
>   Thus, maybe further more work need to be done in Openstack.
> 
>   What's your opinions, Michal and Daniel (from libvirt.org), and Chris (from openstack.org) :)
> 


Yep, the documentation could be better in that respect. I've proposed a
patch on the libvirt upstream list:

https://www.redhat.com/archives/libvir-list/2015-March/msg01533.html

Michal




More information about the libvir-list mailing list