[libvirt] [PATCH v2] qemu: Don't fail to shutdown domains with unresponsive agent

Eric Blake eblake at redhat.com
Tue Feb 26 23:22:16 UTC 2013


On 02/26/2013 04:02 AM, Michal Privoznik wrote:
> Currently, qemuDomainShutdownFlags() chooses the agent method of
> shutdown whenever the agent is configured. However, this
> assumption is not enough as the guest agent may be unresponsive
> at the moment. So unless guest agent method has been explicitly
> requested, we should fall back to the ACPI method.
> ---
> 
> diff to v1:
> - Rework some conditions as Eric suggested in v1
> 
>  src/qemu/qemu_driver.c | 38 ++++++++++++++++++++++----------------
>  1 file changed, 22 insertions(+), 16 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130226/d04a6a07/attachment-0001.sig>


More information about the libvir-list mailing list