From: Daniel Veillard Date: Thu, 10 Apr 2008 13:30:17 +0000 (+0000) Subject: Ask xend to remove device in the config file too X-Git-Tag: LIBVIRT_0_4_4~189 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c863713742ea2dc77c1d7b04a559abc31b636e6e;p=thirdparty%2Flibvirt.git Ask xend to remove device in the config file too * src/xend_internal.c: applied a patch from Ryan Scott to ask xend to save the device removal change in the config file Daniel --- diff --git a/ChangeLog b/ChangeLog index 67e7f3ea22..2a51f6eb66 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Apr 10 15:24:40 CEST 2008 Daniel Veillard + + * src/xend_internal.c: applied a patch from Ryan Scott to ask + xend to save the change in the config file + Thu Apr 10 09:28:31 CEST 2008 Daniel Veillard * src/Makefile.am src/lxc_conf.c src/lxc_conf.h src/lxc_container.c diff --git a/src/xend_internal.c b/src/xend_internal.c index 29d976270c..dbf4816423 100644 --- a/src/xend_internal.c +++ b/src/xend_internal.c @@ -3347,7 +3347,7 @@ xenDaemonDetachDevice(virDomainPtr domain, const char *xml) if (virDomainXMLDevID(domain, xml, class, ref, sizeof(ref))) return (-1); return(xend_op(domain->conn, domain->name, "op", "device_destroy", - "type", class, "dev", ref, NULL)); + "type", class, "dev", ref, "force", "0", "rm_cfg", "1", NULL)); }