This will be useful later on; it was introduced in libvirt 5.2.0.
Signed-off-by: Pino Toscano <[email protected]>
---
virtinst/support.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/virtinst/support.py b/virtinst/support.py
index de73629e..76b8230e 100644
--- a/virtinst/support.py
+++ b/virtinst/support.py
@@ -269,6 +269,8 @@ class SupportCache:
conn_vnc_none_auth = _make(hv_version={"qemu": "2.9.0"})
conn_device_boot_order = _make(hv_version={"qemu": 0, "test": 0})
conn_riscv_virt_pci_default = _make(version="5.3.0", hv_version={"qemu":
"4.0.0"})
+ conn_storage_pool_capabilities = _make(
+ function="virConnect.getStoragePoolCapabilities", run_args=(0,))
# We choose qemu 2.11.0 as the first version to target for q35 default.
# That's not really based on anything except reasonably modern at the
--
2.28.0