[libvirt] [PATCH 2/5] Add VIR_CONNECT_BASELINE_CPU_MIGRATABLE flag

Jiri Denemark jdenemar at redhat.com
Thu Feb 5 15:55:27 UTC 2015


On Thu, Feb 05, 2015 at 15:47:53 +0100, Ján Tomko wrote:
> 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;
>  

ACK

Jirka




More information about the libvir-list mailing list