diff options
author | Pavel Hrdina <phrdina@redhat.com> | 2014-09-30 17:52:29 +0200 |
---|---|---|
committer | Pavel Hrdina <phrdina@redhat.com> | 2014-09-30 19:15:29 +0200 |
commit | 714aa155e84c4b55e37b5554c9dbc5e7ddd61cd3 (patch) | |
tree | dab0178377501979dbe48c882749402299730640 /libvirt-override-virConnect.py | |
parent | a03b509d1cf90e83ad7e2f0e35eae51ddee78bcf (diff) | |
download | libvirt-python-714aa155e84c4b55e37b5554c9dbc5e7ddd61cd3.tar.gz |
implement new tunable eventv1.2.9
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1147639
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Diffstat (limited to 'libvirt-override-virConnect.py')
-rw-r--r-- | libvirt-override-virConnect.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libvirt-override-virConnect.py b/libvirt-override-virConnect.py index 218f266..ffb6d6b 100644 --- a/libvirt-override-virConnect.py +++ b/libvirt-override-virConnect.py @@ -188,6 +188,15 @@ cb(self, virDomain(self, _obj=dom), devAlias, opaque) return 0 + def _dispatchDomainEventTunableCallback(self, dom, params, cbData): + """Dispatches event to python user domain tunable event callbacks + """ + cb = cbData["cb"] + opaque = cbData["opaque"] + + cb(self, virDomain(self, _obj=dom), params, opaque) + return 0 + def domainEventDeregisterAny(self, callbackID): """Removes a Domain Event Callback. De-registering for a domain callback will disable delivery of this event type """ |