Hi,
I faced a similar problem when upgrading libvirt/qemu packages from
wheezy to wheezy-backports. Try to delete
/var/cache/libvirt/qemu/capabilities and restart libvirt-bin.
[]'s
Ariel
On 10/27/2014 02:38 PM, Thomas Rechberger wrote:
Same problem after changing from wheezy to jessie.
virt-install --name test --memory 1024 --nodisk --pxe --cpu host
ERROR internal error: Cannot find suitable CPU model for given data
libvirtd log:
Preferred CPU model Opteron_G3 not allowed by hypervisor; closest
supported model will be used
has it anything to do with wrong detected cpu flags? I am using AMD
Kabini cpu and Opteron G3 map is used both under wheezy and jessie.
virsh capabilities > /tmp/capabilities.xml
root@kvm:/# virsh cpu-compare /tmp/capabilities.xml
CPU described in /tmp/capabilities.xml is identical to host CPU
gir1.2-libvirt-glib-1.0:amd64/jessie 0.1.7-2.1 uptodate
libvirt-bin:amd64/jessie 1.2.9-3 uptodate
libvirt-clients:amd64/jessie 1.2.9-3 uptodate
libvirt-daemon:amd64/jessie 1.2.9-3 uptodate
libvirt-daemon-system:amd64/jessie 1.2.9-3 uptodate
libvirt-glib-1.0-0:amd64/jessie 0.1.7-2.1 uptodate
libvirt0:amd64/jessie 1.2.9-3 uptodate
cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 22
model : 0
model name : AMD Sempron(tm) 3850 APU with Radeon(tm) R3
stepping : 1
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid
aperfmperf eagerfpu pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2
movbe popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic
cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
topoext perfctr_nb perfctr_l2 arat xsaveopt hw_pstate proc_feedback
npt lbrv svm_lock nrip_save tsc_scale flushbyasid decodeassists
pausefilter pfthreshold bmi1
virsh -r capabilities shows me additional invtsc osxsave feature which
the older version didnt had.
Here was mentioned a kernel update fixed it:
https://bbs.archlinux.org/viewtopic.php?id=182142
What it has to do with kernel version?
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org