提交 be193c4d 编写于 作者: P Pavel Hrdina

conf: create new RemovalFailed event using correct class

Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
上级 d58c146a
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册