Other lifecycle events use "{object}Event" format so use the same format for this event as well. Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> --- data/org.libvirt.Domain.xml | 2 +- src/events.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/org.libvirt.Domain.xml b/data/org.libvirt.Domain.xml index 2a14b8e..11dd922 100644 --- a/data/org.libvirt.Domain.xml +++ b/data/org.libvirt.Domain.xml @@ -604,7 +604,7 @@ <arg name="xml" type="s" direction="in"/> <arg name="flags" type="u" direction="in"/> </method> - <signal name="AgentLifecycle"> + <signal name="AgentEvent"> <annotation name="org.gtk.GDBus.DocString" value="See https://libvirt.org/html/libvirt-libvirt-domain.html#virConnectDomainEventAgentLifecycleCallback"/> <arg name="state" type="i"/> diff --git a/src/events.c b/src/events.c index 8a23ce4..a86ad20 100644 --- a/src/events.c +++ b/src/events.c @@ -21,7 +21,7 @@ virtDBusEventsDomainAgentLifecycle(virConnectPtr connection G_GNUC_UNUSED, NULL, path, VIRT_DBUS_DOMAIN_INTERFACE, - "AgentLifecycle", + "AgentEvent", g_variant_new("(ii)", state, reason), NULL); -- 2.17.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list