On 07/31/2012 03:43 PM, Steven Rostedt wrote:
On Tue, 2012-07-31 at 15:37 +0300, Avi Kivity wrote:
quoted
On 07/31/2012 03:17 PM, Fengguang Wu wrote:
quoted
It's good to quickly get to the root cause :) Can we possibly detect
whether we are in a virtual machine and hence skip this particular
test case?
cpu_has(&boot_cpu, X86_FEATURE_HYPERVISOR)
Yeah, but then it is still broken on non-x86 code (the test lives in
core kernel).
As it is just testing the events for wakeup, I could probably just add a
completion and force the other thread to just wait for it. I'll write up
a patch. But it wont make it in till 3.7.
That would be better. A hypervisor might be real-time capable (with
some effort kvm can do this), so we don't want to turn off real time
features just based on that.
--
error compiling committee.c: too many arguments to function