[PATCH 2/2] conf: create new RemovalFailed event using correct class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---
 src/conf/domain_event.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conf/domain_event.c b/src/conf/domain_event.c
index c15f32a4e6..6e471d7ddb 100644
--- a/src/conf/domain_event.c
+++ b/src/conf/domain_event.c
@@ -1443,7 +1443,7 @@ virDomainEventDeviceRemovalFailedNew(int id,
     if (virDomainEventsInitialize() < 0)
         return NULL;
 
-    if (!(ev = virDomainEventNew(virDomainEventDeviceAddedClass,
+    if (!(ev = virDomainEventNew(virDomainEventDeviceRemovalFailedClass,
                                  VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED,
                                  id, name, uuid)))
         return NULL;
-- 
2.12.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux