summaryrefslogtreecommitdiff
path: root/src/libvirt-host.c
diff options
context:
space:
mode:
authorJán Tomko <jtomko@redhat.com>2015-02-05 15:26:03 +0100
committerJán Tomko <jtomko@redhat.com>2015-03-02 07:59:12 +0100
commit02c8b66d6a0cab527a6158c2ebad663897cb0d84 (patch)
treeaa072da487df477e6e6d69194be879440737c34a /src/libvirt-host.c
parent995ca6cbf3b129fd5522bef224728a1e6a65340f (diff)
downloadlibvirt-02c8b66d6a0cab527a6158c2ebad663897cb0d84.tar.gz
Add VIR_CONNECT_BASELINE_CPU_MIGRATABLE flag
This flag for virConnectBaselineCPU will allow filtering out CPU features that block migration from the result. https://bugzilla.redhat.com/show_bug.cgi?id=1171484
Diffstat (limited to 'src/libvirt-host.c')
-rw-r--r--src/libvirt-host.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libvirt-host.c b/src/libvirt-host.c
index 78ee770938..b4dc13e90c 100644
--- a/src/libvirt-host.c
+++ b/src/libvirt-host.c
@@ -1052,6 +1052,9 @@ virConnectGetCPUModelNames(virConnectPtr conn, const char *arch, char ***models,
* without this flag features that are part of the CPU model will not be
* listed.
*
+ * If @flags includes VIR_CONNECT_BASELINE_CPU_MIGRATABLE, the resulting
+ * CPU will not include features that block migration.
+ *
* Returns XML description of the computed CPU (caller frees) or NULL on error.
*/
char *