.type = VSH_OT_BOOL,
.help = N_("Show features that are part of the CPU model type")
},
+ {.name = "migratable",
+ .type = VSH_OT_BOOL,
+ .help = N_("Do not include features that block migration")
+ },
{.name = NULL}
};
if (vshCommandOptBool(cmd, "features"))
flags |= VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES;
+ if (vshCommandOptBool(cmd, "migratable"))
+ flags |= VIR_CONNECT_BASELINE_CPU_MIGRATABLE;
if (vshCommandOptStringReq(ctl, cmd, "file", &from) < 0)
return false;
a single host NUMA cell. On the other end of spectrum lies
I<--all> which executes the modification on all NUMA cells.
-=item B<cpu-baseline> I<FILE> [I<--features>]
+=item B<cpu-baseline> I<FILE> [I<--features>] [I<--migratable>]
Compute baseline CPU which will be supported by all host CPUs given in <file>.
The list of host CPUs is built by extracting all <cpu> elements from the
B<capabilities> command. If I<--features> is specified then the
resulting XML description will explicitly include all features that make
up the CPU, without this option features that are part of the CPU model
-will not be listed in the XML description.
+will not be listed in the XML description. If I<--migratable> is specified,
+features that block migration will not be included in the resulting CPU.
=item B<cpu-compare> I<FILE> [I<--error>]