On 07/30/2010 12:03 PM, Matthias Bolte wrote:
---
src/esx/esx_driver.c | 1 +
src/openvz/openvz_driver.c | 1 +
src/phyp/phyp_driver.c | 2 ++
src/vbox/vbox_tmpl.c | 1 +
src/xenapi/xenapi_driver.c | 1 +
5 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c
index 964a3a5..913420c 100644
--- a/src/esx/esx_driver.c
+++ b/src/esx/esx_driver.c
@@ -1620,6 +1620,7 @@ esxDomainDestroy(virDomainPtr domain)
goto cleanup;
}
+ domain->id = -1;
result = 0;
ACK.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org