mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
conf: create new RemovalFailed event using correct class
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
d58c146a4f
commit
be193c4dc6
@ -1443,7 +1443,7 @@ virDomainEventDeviceRemovalFailedNew(int id,
|
|||||||
if (virDomainEventsInitialize() < 0)
|
if (virDomainEventsInitialize() < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (!(ev = virDomainEventNew(virDomainEventDeviceAddedClass,
|
if (!(ev = virDomainEventNew(virDomainEventDeviceRemovalFailedClass,
|
||||||
VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED,
|
VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED,
|
||||||
id, name, uuid)))
|
id, name, uuid)))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user