Re: [PATCH 1/3] Add infrastructure for automatically kill guests with a connection closes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/23/2011 04:58 AM, Daniel P. Berrange wrote:
> Sometimes it is useful to be able to automatically kill a guest when
> a connection is closed. For example, kill an incoming migration if
> the client managing the migration dies. This introduces a map between
> guest 'uuid' strings and virConnectPtr objects. When a connection is
> closed, any associated guests are killed off
> 
> * src/qemu/qemu_conf.h: Add autokill hash table to qemu driver
> * src/qemu/qemu_process.c, src/qemu/qemu_process.h: Add APIs
>   for performing autokill of guests associated with a connection
> * src/qemu/qemu_driver.c: Initialize autokill map
> ---
>  src/qemu/qemu_conf.h      |    5 ++
>  src/qemu/qemu_driver.c    |   17 +++++--
>  src/qemu/qemu_migration.c |    7 ++-
>  src/qemu/qemu_process.c   |  118 +++++++++++++++++++++++++++++++++++++++++++++
>  src/qemu/qemu_process.h   |   12 +++++
>  5 files changed, 151 insertions(+), 8 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]