On 13/11/2015 02:48, Wanpeng Li wrote: > > diff --git a/x86/unittests.cfg b/x86/unittests.cfg > > index ac652fc..fd7e9b2 100644 > > --- a/x86/unittests.cfg > > +++ b/x86/unittests.cfg > > @@ -114,6 +114,7 @@ file = sieve.flat > > > > [tsc] > > file = tsc.flat > > +extra_params = -cpu kvm64,+rdtscp > > > > [tsc_adjust] > > file = tsc_adjust.flat > > When I run cpuid tool in a real linux guest, the rdtscp, tsc_adjust, > tsc deadline timer are present, however, kvm-unit-tests always report > these features are not detected, what is the issue here? Your guest is probably run with some "-cpu" option, while kvm-unit-tests' x86/run script doesn't add any. This is why I needed the extra_params line above. Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html