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.

root@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@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@garona:~# diff <(kvm -cpu ?) <(kvm -no-user-config -cpu ?)
root@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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to