[Pkg-libvirt-maintainers] Bug#699813: libvirt refuses to use newer CPU models that are presented as default

Guido Günther agx at sigxcpu.org
Mon Feb 11 15:33:01 UTC 2013


Hi Philipp,
On Tue, Feb 05, 2013 at 02:59:05PM +0100, Philipp Kern wrote:
> Package: libvirt-bin
> Version: 0.9.12-5
> Severity: normal
> 
> libvirt in wheezy calls qemu with -nodefconfig to query the supported CPU
> models (-cpu ?). This ignores the cpu definition qemu ships
> (/usr/share/kvm/cpus-x86_64.conf in qemu-kvm). When copying
> the CPU flags of the host processor virt-manager will pick, in my case,
> SandyBridge, which libvirt then discards as not being supported.
> libvirt 0.9.13 will call qemu with -no-user-config[0], which will
> still present the newer CPU models.

I'm not sure I'm following. I do see that we're missing the
-no-user-config patch in Wheezy's libvirt but if I read this correctly
even with that patch applied you're not seeing the exected result which
would be what exactly?
Cheers,
 -- Guido

> 
> root at garona:~# kvm -nodefconfig -cpu ?
> x86           [n270]
> x86         [athlon]
> x86       [pentium3]
> x86       [pentium2]
> x86        [pentium]
> x86            [486]
> x86        [coreduo]
> x86          [kvm32]
> x86         [qemu32]
> x86          [kvm64]
> x86       [core2duo]
> x86         [phenom]
> x86         [qemu64]
> 
> root at garona:~# kvm -cpu ?
> x86       Opteron_G4
> x86       Opteron_G3
> x86       Opteron_G2
> x86       Opteron_G1
> x86      SandyBridge
> x86         Westmere
> x86          Nehalem
> x86           Penryn
> x86           Conroe
> x86           [n270]
> x86         [athlon]
> x86       [pentium3]
> x86       [pentium2]
> x86        [pentium]
> x86            [486]
> x86        [coreduo]
> x86          [kvm32]
> x86         [qemu32]
> x86          [kvm64]
> x86       [core2duo]
> x86         [phenom]
> x86         [qemu64]
> 
> root at garona:~# diff <(kvm -cpu ?) <(kvm -no-user-config -cpu ?)
> root at garona:~# 
> 
> That's supported since qemu 1.1, which is in wheezy.
> 
> Kind regards
> Philipp Kern
> 
> [0] https://bugzilla.redhat.com/show_bug.cgi?id=804224#c11



More information about the Pkg-libvirt-maintainers mailing list