mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
conf: create new RemovalFailed event using correct class
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
(cherry picked from commit be193c4dc6
)
This commit is contained in:
parent
6f2b428fd2
commit
e495bdef72
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user