image_utils: Use QEMU_IMG_FORCE_SHARE_VERSION constant
Use the constant defined for this version instead of hard-coding the version number in the check. Change-Id: Ie90092aaa05f4670fe114f3d13f752feb7260c8f
This commit is contained in:
parent
367e704614
commit
ca11345dcc
|
@ -163,7 +163,7 @@ def get_qemu_img_version():
|
|||
|
||||
|
||||
def qemu_img_supports_force_share():
|
||||
return get_qemu_img_version() >= [2, 10, 0]
|
||||
return get_qemu_img_version() >= QEMU_IMG_MIN_FORCE_SHARE_VERSION
|
||||
|
||||
|
||||
def _get_qemu_convert_luks_cmd(src, dest, out_format, src_format=None,
|
||||
|
|
Loading…
Reference in New Issue