From Dan Kenigsberg <danken(a)redhat.com>:
Dan Kenigsberg has submitted this change and it was merged.
Change subject: libvirt: Workaround missing VIR_DOMAIN_EVENT_ID_JOB_COMPLETED
......................................................................
libvirt: Workaround missing VIR_DOMAIN_EVENT_ID_JOB_COMPLETED
In a previous patch, we assigned a callback to
VIR_DOMAIN_EVENT_ID_JOB_COMPLETED. However, that constant is not available in
libvirt versions used in RHEL/CentOS 7.2 and the callback registration crashes
there. So we must fake the constant until we depend on libvirt 2.0.
Change-Id: Ib8d3c6a71b4cf694b96cc278adbe9dd5ade62d18
Signed-off-by: Milan Zamazal <mzamazal(a)redhat.com>
---
M lib/vdsm/libvirtconnection.py
1 file changed, 8 insertions(+), 0 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Dan Kenigsberg: Looks good to me, approved
Michal Skrivanek: Looks good to me, but someone else must approve
Milan Zamazal: Verified
--
To view, visit
https://gerrit.ovirt.org/67244
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib8d3c6a71b4cf694b96cc278adbe9dd5ade62d18
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Milan Zamazal <mzamazal(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek(a)redhat.com>
Gerrit-Reviewer: Milan Zamazal <mzamazal(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>