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
---
include/libvirt/libvirt-host.h | 1 +
src/libvirt-host.c | 3 +++
2 files changed, 4 insertions(+)
diff --git a/include/libvirt/libvirt-host.h b/include/libvirt/libvirt-host.h
index f760a55..77058af 100644
--- a/include/libvirt/libvirt-host.h
+++ b/include/libvirt/libvirt-host.h
@@ -862,6 +862,7 @@ int virConnectGetCPUModelNames(virConnectPtr conn,
*/
typedef enum {
VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES = (1 << 0), /* show all features
*/
+ VIR_CONNECT_BASELINE_CPU_MIGRATABLE = (1 << 1), /* filter out non-migratable
features */
} virConnectBaselineCPUFlags;