[libvirt] [PATCH] cpu: Let explicit features override model features
Jiri Denemark
jdenemar at redhat.com
Mon Jul 22 12:02:14 UTC 2013
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
More information about the libvir-list
mailing list