On Thu, Jun 25, 2015 at 14:12:16 +0200, Jiri Denemark wrote:
> Hi all,
> 
> I'm working on improving our host CPU detection logic and I'd like to
> gather test data for various CPUs and include them in the libvirt's CPU
> unit test to make sure I don't introduce regressions.
> 
> If you are willing to help me, please, send me the output of the
> following command:
> 
>     grep 'model name' /proc/cpuinfo | head -n1; cpuid -1r
> 

Oh, I forgot I'd also like to see what QEMU/KVM is thinking about the
host CPU. If you have QEMU and KVM enabled on the hosts (or you are
willing to do so), please, also send me the output of the following
command:

qemu-system-x86_64 -cpu host -machine accel=kvm -nodefaults -nographic \
-qmp unix:/tmp/socket,server,nowait & sleep 5; echo \
'{"execute":"qmp_capabilities"}{"execute":"qom-get","arguments":' \
'{"path":"/machine/unattached/device[0]","property":"feature-words"},' \
'"id":"feature-words"}{"execute":"qom-get","arguments":{"path":' \
'"/machine/unattached/device[0]","property":"family"},"id":"family"}' \
'{"execute":"qom-get","arguments":{"path":' \
'"/machine/unattached/device[0]","property":"model"},"id":"model"}' \
'{"execute":"qom-get","arguments":{"path":' \
'"/machine/unattached/device[0]","property":"stepping"},"id":' \
'"stepping"}{"execute":"qom-get","arguments":{"path":' \
'"/machine/unattached/device[0]","property":"model-id"},"id":' \
'"model-id"}{"execute":"quit"}' | nc -U /tmp/socket

Replace qemu-system-x86_64 with the appropriate QEMU binary name
(qemu-kvm, /usr/libexec/qemu-kvm, ...).

BTW, none of these commands should require root privileges.

Thanks a lot,

Jirka

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to