diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2008-11-17 16:43:00 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2008-11-17 16:43:00 +0000 |
commit | eaff6be2d81c7397e8acfe5994ebe28c1003da67 (patch) | |
tree | 1f0ba8bfd300f053caebd00d406348be4f43a666 | |
parent | 1782a01dd45805abfd483a301658093061c4fde6 (diff) | |
download | libvirt-python-v6-eaff6be2d81c7397e8acfe5994ebe28c1003da67.tar.gz libvirt-python-v6-eaff6be2d81c7397e8acfe5994ebe28c1003da67.tar.xz libvirt-python-v6-eaff6be2d81c7397e8acfe5994ebe28c1003da67.zip |
Add domain events detail information
-rw-r--r-- | libvir.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1538,6 +1538,7 @@ static int libvirt_virConnectDomainEventCallback(virConnectPtr conn ATTRIBUTE_UNUSED, virDomainPtr dom, int event, + int detail, void *opaque) { PyObject *pyobj_ret; @@ -1595,9 +1596,10 @@ libvirt_virConnectDomainEventCallback(virConnectPtr conn ATTRIBUTE_UNUSED, /* Call the Callback Dispatcher */ pyobj_ret = PyObject_CallMethod(pyobj_conn_inst, (char*)"dispatchDomainEventCallbacks", - (char*)"Oi", + (char*)"Oii", pyobj_dom_inst, - event); + event, + detail); Py_DECREF(pyobj_dom_inst); |