On 30/10/2018 18:38, Andrew Jones wrote: > There are three parts to a kvm selftest: 1) the test code which runs in > host userspace and _is_ the kvm userspace used with kvm, 2) the vcpu > thread code which executes KVM_RUN for the guest code and possibly also > some host userspace test code, and 3) the guest code, which is naturally > run in the vcpu thread, but in guest mode. Note that the vcpu thread is a specialty of this test. Usually it's not needed and 1+2 are the same. Paolo