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.
@@ -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,
