Re: [PATCH] cpu: Let explicit features override model features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 22, 2013 at 13:41:44 +0200, Peter Krempa wrote:
> On 07/21/13 14:37, Jiri Denemark wrote:
> > Until now CPU features inherited from a specified CPU model could only
> > be overridden with 'disable' policy. With this patch, any explicitly
> > specified feature always overrides the same feature inherited from a CPU
> > model regardless on the specified policy.
> >
> > The CPU in x86-exact-force-Haswell.xml would previously be incompatible
> > with x86-host-SandyBridge.xml CPU even though x86-host-SandyBridge.xml
> > provides all features required by x86-exact-force-Haswell.xml.
> > ---
> >   src/cpu/cpu_x86.c                             |  5 +++++
> >   tests/cputest.c                               |  1 +
> >   tests/cputestdata/x86-exact-force-Haswell.xml | 15 +++++++++++++++
> >   tests/cputestdata/x86-host-SandyBridge.xml    |  6 ++++++
> >   4 files changed, 27 insertions(+)
> >   create mode 100644 tests/cputestdata/x86-exact-force-Haswell.xml
> >   create mode 100644 tests/cputestdata/x86-host-SandyBridge.xml
> >
> 
> ACK.

Pushed, thanks.

Jirka

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]