]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Ask xend to remove device in the config file too
authorDaniel Veillard <veillard@redhat.com>
Thu, 10 Apr 2008 13:30:17 +0000 (13:30 +0000)
committerDaniel Veillard <veillard@redhat.com>
Thu, 10 Apr 2008 13:30:17 +0000 (13:30 +0000)
* src/xend_internal.c: applied a patch from Ryan Scott to ask
  xend to save the device removal change in the config file
Daniel

ChangeLog
src/xend_internal.c

index 67e7f3ea22046b95c40839a0e32de74f4813cbee..2a51f6eb6631488ff0e2c60f35114ccfb5529153 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Apr 10 15:24:40 CEST 2008 Daniel Veillard <daniel@veillard.com>
+
+       * 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 <daniel@veillard.com>
 
        * src/Makefile.am src/lxc_conf.c src/lxc_conf.h src/lxc_container.c
index 29d976270ccd90ac5714c1fce47dfaec98335790..dbf48164239c5b278604f093fe218d6bf49daac7 100644 (file)
@@ -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));
 }