Re: [libvirt] lifecycle: shutdown: should it have timeout when using qemu-agent?

2015-03-23 Thread Michal Privoznik
On 23.03.2015 10:31, zhang bo wrote: > The problem we encountered is: > 1) use qemu-agent to shutdown a domain. > 2) libvirt will block in "qemuAgentShutdown()", if the domain itself got > stucked when it powers-off. > > It's the *guest domain*'s fault that it stucks when shutdown. However, we >

[libvirt] lifecycle: shutdown: should it have timeout when using qemu-agent?

2015-03-23 Thread zhang bo
The problem we encountered is: 1) use qemu-agent to shutdown a domain. 2) libvirt will block in "qemuAgentShutdown()", if the domain itself got stucked when it powers-off. It's the *guest domain*'s fault that it stucks when shutdown. However, we could not handle the domain in libvirt anymore, ex