Allow block live migration of an instance with attached volumes
Since libvirt 1.2.17 it is possible to select which block devices
should be migrated to destination host. Block devices that are not
provided will not be migrated. It means that it is possible to
exclude volumes from block migration and therefore prevent volumes
from being copied to themselves.
This patch implements new check of libvirt version. If version is
higher or equal to 1.2.17 it is possible to block live migrate vm
with attached volumes.
Reviewed: https:/ /review. openstack. org/227278 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=23fd0389f0e 23e7969644079f4 b1ad8504cbb8cb
Committed: https:/
Submitter: Jenkins
Branch: master
commit 23fd0389f0e23e7 969644079f4b1ad 8504cbb8cb
Author: Pawel Koniszewski <email address hidden>
Date: Wed Feb 10 13:09:44 2016 +0100
Allow block live migration of an instance with attached volumes
Since libvirt 1.2.17 it is possible to select which block devices
should be migrated to destination host. Block devices that are not
provided will not be migrated. It means that it is possible to
exclude volumes from block migration and therefore prevent volumes
from being copied to themselves.
This patch implements new check of libvirt version. If version is
higher or equal to 1.2.17 it is possible to block live migrate vm
with attached volumes.
Co-Authored-By: Bartosz Fic <email address hidden>
Change-Id: I8fcc3ef3cb5d9f d3a95067929c496 fdb5976fd41 migrate- with-attached- volumes
Closes-Bug: #1398999
Partially implements: blueprint block-live-