Skip to content
Commit ef1b144d authored by Mike Rapoport's avatar Mike Rapoport Committed by Michael S. Tsirkin
Browse files

tools/virtio/ringtest: fix run-on-all.sh to work without /dev/cpu



/dev/cpu is only available on x86 with certain modules (e.g. msr) enabled.
Using lscpu to get processors count is more portable.

Signed-off-by: default avatarMike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 3b220cf8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment