[libvirt] [PATCH] Add support for autodestroy of guests to the LXC and UML drivers
Eric Blake
eblake at redhat.com
Mon Oct 17 18:16:10 UTC 2011
On 10/17/2011 04:32 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"<berrange at redhat.com>
>
> I wrote this months ago and thought I had already submitted/merged
> it. Obviously not. I need this for the virt sandbox tools asap.
>
> We recently added support for VIR_DOMAIN_START_AUTODESTROY and
> an impl to the QEMU driver. It is very desirable to support in
> other drivers, so this adds it to LXC and UML
>
> * src/lxc/lxc_conf.h, src/lxc/lxc_driver.c,
> src/uml/uml_conf.h, src/uml/uml_driver.c: Wire up autodestroy
> functions
> ---
> src/lxc/lxc_conf.h | 5 ++
> src/lxc/lxc_driver.c | 140 +++++++++++++++++++++++++++++++++++++++++--
> src/uml/uml_conf.h | 6 ++
> src/uml/uml_driver.c | 164 +++++++++++++++++++++++++++++++++++++++++++-------
> 4 files changed, 289 insertions(+), 26 deletions(-)
ACK.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
More information about the libvir-list
mailing list