2d558399a0
57db4185-virt-clone-fix-force-copy-of-empty-cdrom-or-floppy-disk.patch 26a433fc-virtManager-clone-check-which-storage-pools-supports-volume-cloning.patch 4f66c423-cloner-Handle-nonsparse-for-qcow2-images.patch a02fc0d0-virtManager-clone-build-default-clone-path-if-we-know-how.patch 1856c1fa-support-Fix-minimum-version-check.patch 74bbc3db-urldetect-Check-also-for-treeinfo.patch 708af01c-osdict-Add-supports_virtioinput.patch f23b01be-guest-Add-VirtIO-input-devices-to-s390x-guests-with-graphics.patch 7afbb90b-virt-xml-Handle-VM-names-that-look-like-id-uuid.patch a0ca387a-cli-Fix-pool-default-when-path-belongs-to-another-pool.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=465
35 lines
1.6 KiB
Diff
35 lines
1.6 KiB
Diff
Subject: support: Fix minimum version check
|
|
From: Cole Robinson crobinso@redhat.com Wed Mar 6 13:05:47 2019 -0500
|
|
Date: Wed Mar 6 13:06:54 2019 -0500:
|
|
Git: 1856c1fa6501c7d37d360377937a82cfa2d1cd20
|
|
|
|
The original code for this was about version 0.7.3, but a refactor
|
|
accidentally changed it to 0.7.9 which is a libvirt version that
|
|
doesn't exist. Fix it
|
|
|
|
diff --git a/virtinst/support.py b/virtinst/support.py
|
|
index 0f0f6104..fabcfe7d 100644
|
|
--- a/virtinst/support.py
|
|
+++ b/virtinst/support.py
|
|
@@ -131,7 +131,7 @@ class _SupportCheck(object):
|
|
for an 'unsupported' error from libvirt.
|
|
|
|
@flag: A flag to check exists. This will be appended to the argument
|
|
- list if run_args are provided, otherwise we will only check against
|
|
+ :list if run_args are provided, otherwise we will only check against
|
|
that the flag is present in the python bindings.
|
|
|
|
@hv_version: A dictionary with hypervisor names for keys, and
|
|
@@ -157,9 +157,9 @@ class _SupportCheck(object):
|
|
versions = ([self.version] + list(self.hv_libvirt_version.values()))
|
|
for vstr in versions:
|
|
v = _version_str_to_int(vstr)
|
|
- if vstr is not None and v != 0 and v < 7009:
|
|
+ if vstr is not None and v != 0 and v < 7003:
|
|
raise RuntimeError("programming error: Cannot enforce "
|
|
- "support checks for libvirt versions less than 0.7.9, "
|
|
+ "support checks for libvirt versions less than 0.7.3, "
|
|
"since required APIs were not available. ver=%s" % vstr)
|
|
|
|
def check_support(self, conn, data):
|