Re: [PATCH] KVM: x86: fix kvmclock breakage from timers branch merge

Paolo Bonzini
2014-09-04T19:14:11Z

Il 04/09/2014 21:00, John Stultz ha scritto:
>
> Hey, thanks for reporting the issue and sending an initial patch (even
> if its not quite all sorted yet).
>
> Is the test you're using here available somewhere? Are there any
> special requirements to run it?

You need KVM on a machine with clocksource=tsc. Grab the tests from
git://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git

and run them with

./configure
make
./x86-run x86/kvmclock_test.flat --append "10000000 `date +%s`"

Thanks,

Paolo