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