[libvirt] [PATCH 3/4] cpu: Try to use source CPU model in virConnectBaselineCPU

Peter Krempa pkrempa at redhat.com
Tue Jan 28 14:30:42 UTC 2014


On 01/28/14 00:23, Jiri Denemark wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1049391
> 
> 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(-)
> 

ACK.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140128/72ea321f/attachment-0001.sig>


More information about the libvir-list mailing list