On Fri, Aug 03, 2012 at 16:29:06 +0200, Michael Beham wrote:
Hi,
I´m using libvirt version 0.9.12 under Debian Squeeze with and AMD
Opteron 4280. Executing the virsh capabilities command only show me the
following flags:
<cpu>
<arch>x86_64</arch>
<model>Opteron_G4</model>
<vendor>AMD</vendor>
<topology sockets='1' cores='8' threads='2'/>
<feature name='nodeid_msr'/>
<feature name='wdt'/>
<feature name='skinit'/>
<feature name='ibs'/>
<feature name='osvw'/>
<feature name='cr8legacy'/>
<feature name='extapic'/>
<feature name='cmp_legacy'/>
<feature name='fxsr_opt'/>
<feature name='mmxext'/>
<feature name='osxsave'/>
<feature name='monitor'/>
<feature name='ht'/>
<feature name='vme'/>
</cpu>
Should not there be more flags supported by the CPU, for example the
SVM-Flag for virtualization because executing cat /proc/cpuinfo gives me
quite a lot of more flags and also the SVM Flag.
To keep the list short, libvirt only explicitly prints features that are not
covered by a CPU model. CPU features included in a particular CPU model can be
found in /usr/share/libvirt/cpu_map.xml. When expanded, your CPU is:
<feature name='nodeid_msr'/>
<feature name='wdt'/>
<feature name='skinit'/>
<feature name='ibs'/>
<feature name='osvw'/>
<feature name='cr8legacy'/>
<feature name='extapic'/>
<feature name='cmp_legacy'/>
<feature name='fxsr_opt'/>
<feature name='mmxext'/>
<feature name='osxsave'/>
<feature name='monitor'/>
<feature name='ht'/>
<feature name='vme'/>
<!-- included in Opteron_G4 -->
<feature name='pclmuldq'/>
<feature name='ssse3'/>
<feature name='sse4.1'/>
<feature name='sse4.2'/>
<feature name='popcnt'/>
<feature name='aes'/>
<feature name='xsave'/>
<feature name='avx'/>
<feature name='pdpe1gb'/>
<feature name='abm'/>
<feature name='sse4a'/>
<feature name='misalignsse'/>
<feature name='3dnowprefetch'/>
<feature name='xop'/>
<feature name='fma4'/>
<!-- inherited from Opteron_G2 -->
<feature name='cx16'/>
<feature name='rdtscp'/>
<feature name='lahf_lm'/>
<feature name='svm'/>
<!-- inherited from Opteron_G1 -->
<!-- inherited from cpu64-rhel5 -->
<feature name='syscall'/>
<feature name='nx'/>
<feature name='lm'/>
<!-- inherited from kvm32 -->
<feature name='mtrr'/>
<feature name='mca'/>
<feature name='pse36'/>
<feature name='clflush'/>
<!-- inherited from qemu32 -->
<feature name='pni'/>
<!-- inherited from pentiumpro -->
<feature name='fpu'/>
<feature name='de'/>
<feature name='pse'/>
<feature name='tsc'/>
<feature name='msr'/>
<feature name='pae'/>
<feature name='mce'/>
<feature name='cx8'/>
<feature name='apic'/>
<feature name='sep'/>
<feature name='pge'/>
<feature name='cmov'/>
<feature name='pat'/>
<feature name='mmx'/>
<feature name='fxsr'/>
<feature name='sse'/>
<feature name='sse2'/>
Jirka