summaryrefslogtreecommitdiff
path: root/virtinst/support.py
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2020-08-22 13:49:08 -0400
committerCole Robinson <crobinso@redhat.com>2020-08-26 15:20:05 -0400
commitf22e0601906b7b6e2278223c4142b014e073e385 (patch)
treebde2a4aa7dc7c19ba5e0a6c19449e0845d4965bb /virtinst/support.py
parent9a9eb165ed8da61a0174b2c4dc9041ceb0ee25b6 (diff)
downloadvirt-manager-f22e0601906b7b6e2278223c4142b014e073e385.tar.gz
Always assume objects support .isActive()
All drivers that support the listAll APIs, which we depend on, also are new enough to support isActive, so stop checking support Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virtinst/support.py')
-rw-r--r--virtinst/support.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/virtinst/support.py b/virtinst/support.py
index 38ac6755..54e25464 100644
--- a/virtinst/support.py
+++ b/virtinst/support.py
@@ -307,14 +307,10 @@ class SupportCache:
version="1.2.8", hv_version={"qemu": 0})
# Pool checks
- pool_isactive = _make(function="virStoragePool.isActive", run_args=())
pool_metadata_prealloc = _make(
flag="VIR_STORAGE_VOL_CREATE_PREALLOC_METADATA",
version="1.0.1")
- # Network checks
- net_isactive = _make(function="virNetwork.isActive", run_args=())
-
def _check_version(self, version):
"""