[virt-tools-list] [PATCH v2 1/5] virtinst: add probe functionality to test for metadata support
Giuseppe Scrivano
gscrivan at redhat.com
Tue Sep 24 17:06:30 UTC 2013
Suggested-by: Cole Robinson <crobinso at redhat.com>
Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
---
virtinst/support.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/virtinst/support.py b/virtinst/support.py
index 0ef1c81..a25d695 100644
--- a/virtinst/support.py
+++ b/virtinst/support.py
@@ -344,6 +344,8 @@ SUPPORT_DOMAIN_SET_METADATA = _make(version=9010)
SUPPORT_DOMAIN_CPU_HOST_MODEL = _make(version=9010)
SUPPORT_DOMAIN_LIST_SNAPSHOTS = _make(function="virDomain.listAllSnapshots",
args=())
+SUPPORT_DOMAIN_GET_METADATA = _make(function="virDomain.metadata",
+ args=(getattr(libvirt, "VIR_DOMAIN_METADATA_TITLE", 1), None, 0))
# Pool checks
--
1.8.3.1
More information about the virt-tools-list
mailing list