Fwd: Questions about the kvm with multi core

Skip to first unread message

qs Z

Apr 27, 2021, 9:48:14 PMApr 27
to s2e...@googlegroups.com

We are now using s2e to do some program analysis on Linux kernel.
However, when we try to use qemu to boot the Linux kernel with -smp 2, we found that the /dev/kvm emulated by s2e seems only support one core.
(checkExtension for KVM_CAP_MAX_VCPUS returns 1 in https://github.com/S2E/libs2e/blob/master/src/s2e-kvm.cpp).
So we try to set it to 2, but we got "qemu-system-x86_64: kvm_init_vcpu failed: Permission denied" when adding the second CPU.

I'm asking whether are some solutions that can let us use -smp 2


Vitaly Chipounov

Apr 28, 2021, 4:31:58 AMApr 28
to s2e...@googlegroups.com, qs Z


Unfortunately, S2E does not support multiple cores. There is an issue for this: https://github.com/S2E/s2e-env/issues/420.


You received this message because you are a member of the S2E Developer Forum.
To post to this group, send email to s2e...@googlegroups.com
To unsubscribe from this group, send email to s2e-dev+u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/s2e-dev

You received this message because you are subscribed to the Google Groups "S2E Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to s2e-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/s2e-dev/CAHcsTbXPhx4LG9PG8TZocYnBet-V22BkuL9kUCYk82ek6exRgQ%40mail.gmail.com.
Reply all
Reply to author
0 new messages