Change in vdsm[master]: Add a libvirt migration hook to filter out min_guarantee ele...
nsoffer at redhat.com
nsoffer at redhat.com
Thu Sep 18 08:12:14 UTC 2014
Nir Soffer has posted comments on this change.
Change subject: Add a libvirt migration hook to filter out min_guarantee element
......................................................................
Patch Set 5:
(1 comment)
http://gerrit.ovirt.org/#/c/32928/5/vdsm/virt/libvirt-hook.sh
File vdsm/virt/libvirt-hook.sh:
Line 5:
Line 6: # This condition depends on a feature that will be included in
Line 7: # libvirt once https://bugzilla.redhat.com/show_bug.cgi?id=1142684
Line 8: # is resolved. It will work only for migrations before that.
Line 9: if [ "x$EVENT" != "xmigrate" -a "x$EVENT" != "xrestore" ]; then
We could use:
if [ "migrate" != "$EVENT" -a "restore" != "$EVENT" ]; then
Which cannot break if $EVENT expand to "-n".
Line 10: exit 0
Line 11: fi
Line 12:
Line 13: # Fix VMs migrating to host with libvirt >= 1.2.8
--
To view, visit http://gerrit.ovirt.org/32928
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I5f5e79037b755b257f9cac419887606f66705504
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list