[Libvirt-cim] [PATCH] Adds indication capabilities to migration jobs (create, modify, delete)

Richard Maciel rmaciel at linux.vnet.ibm.com
Tue Jun 9 18:05:54 UTC 2009


# HG changeset patch
# User Richard Maciel <rmaciel at linux.vnet.ibm.com>
# Date 1244508974 10800
# Node ID c9699a6e245736c7dbf1e65960bd8ef130277dbf
# Parent  b988eaa240cd4f577e74829e1c300aa2dabab023
Adds indication capabilities to migration jobs (create, modify, delete)

This code just adds the filter, since the event methods are already implemented

Signed-off-by: Richard Maciel <rmaciel at linux.vnet.ibm.com>

diff -r b988eaa240cd -r c9699a6e2457 src/Virt_ComputerSystemMigrationIndication.c
--- a/src/Virt_ComputerSystemMigrationIndication.c	Fri Jun 12 15:11:51 2009 -0700
+++ b/src/Virt_ComputerSystemMigrationIndication.c	Mon Jun 08 21:56:14 2009 -0300
@@ -45,11 +45,17 @@
 DECLARE_FILTER(xen_created, "Xen_ComputerSystemMigrationJobCreatedIndication");
 DECLARE_FILTER(xen_mod, "Xen_ComputerSystemMigrationJobModifiedIndication");
 DECLARE_FILTER(xen_deleted, "Xen_ComputerSystemMigrationJobDeletedIndication");
+DECLARE_FILTER(kvm_created, "KVM_ComputerSystemMigrationJobCreatedIndication");
+DECLARE_FILTER(kvm_deleted, "KVM_ComputerSystemMigrationJobDeletedIndication");
+DECLARE_FILTER(kvm_mod, "KVM_ComputerSystemMigrationJobModifiedIndication");
 
 static struct std_ind_filter *filters[] = {
         &xen_created,
         &xen_mod,
         &xen_deleted,
+        &kvm_created,
+        &kvm_mod,
+        &kvm_deleted,
         NULL,
 };
 




More information about the Libvirt-cim mailing list