mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
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
This commit is contained in:
parent
9ae41a71ac
commit
c863713742
@ -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
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user