[libvirt] [PATCH 3/4] cpu: Try to use source CPU model in virConnectBaselineCPU
pkrempa at redhat.com
Tue Jan 28 14:30:42 UTC 2014
On 01/28/14 00:23, Jiri Denemark wrote:
> When all source CPU XMLs contain just a single CPU model (with a
> possibly varying set of additional feature elements),
> virConnectBaselineCPU will try to use this CPU model in the computed
> guest CPU. Thus, when used on just a single CPU (useful with
> VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES), the result will not use a
> different CPU model.
> If the computed CPU uses the source model, set fallback mode to 'forbid'
> to make sure the guest CPU will always be as close as possible to the
> source CPUs.
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> src/cpu/cpu_x86.c | 17 ++++++++++++++++-
> tests/cputestdata/x86-baseline-3-expanded.xml | 2 +-
> 2 files changed, 17 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 901 bytes
Desc: OpenPGP digital signature
More information about the libvir-list