Have you tested this? If yes, it looks ok to me.
Em 30-04-2010 20:40, Sharad Mishra escreveu:
# HG changeset patch
# User Sharad Mishra<snmishra(a)us.ibm.com>
# Date 1269035366 25200
# Node ID 9147baed9cf8a7bf32a8076d7f98931a940eb59f
# Parent 4ee7c4354bc550780bc02ef1f69fbda387b3fe13
Generating Deleted indication after Modified indication.
This patch moves migration job deleted indication after migration job
modified (job completed) indication.
Signed-off-by: Sharad Mishra <snmishra(a)us.ibm.com>
diff -r 4ee7c4354bc5 -r 9147baed9cf8 src/Virt_VSMigrationService.c
--- a/src/Virt_VSMigrationService.c Tue Mar 02 15:23:45 2010 -0800
+++ b/src/Virt_VSMigrationService.c Fri Mar 19 14:49:26 2010 -0700
@@ -1235,7 +1235,6 @@
}
out:
clear_infstore_migration_flag(dom);
- raise_deleted_ind(job);
free(uri);
free(xml);
@@ -1266,6 +1265,7 @@
CIM_JOBSTATE_COMPLETE,
"Completed");
+ raise_deleted_ind(job);
virConnectClose(job->conn);
free(job->domain);
free(job->ref_cn);
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim
--
Richard Maciel, MSc
IBM Linux Technology Center
rmaciel(a)linux.vnet.ibm.com