提交 c8637137 编写于 作者: D Daniel Veillard

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
上级 9ae41a71
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> 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 * src/Makefile.am src/lxc_conf.c src/lxc_conf.h src/lxc_container.c
......
...@@ -3347,7 +3347,7 @@ xenDaemonDetachDevice(virDomainPtr domain, const char *xml) ...@@ -3347,7 +3347,7 @@ xenDaemonDetachDevice(virDomainPtr domain, const char *xml)
if (virDomainXMLDevID(domain, xml, class, ref, sizeof(ref))) if (virDomainXMLDevID(domain, xml, class, ref, sizeof(ref)))
return (-1); return (-1);
return(xend_op(domain->conn, domain->name, "op", "device_destroy", 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));
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册