On 06/21/2011 12:03 PM, Gleb Natapov wrote:> >>
> >Something like steal time, but for watchdog. But this become complicated fast. > >Watchdog emulation will have to move into kernel for starter. > > Why? You can use a performance counter from userspace. > Heh, haven't thought about such way of implementing watchdog device. But the same question again: what impact on performance constantly running guest under perf is?
Same answer.
Doesn't running guest under perf involve a lot of NMIs (and hence vmexists)?
The NMI rate is proportional to how you program the counter. If you program it to exit every 2 billion cycles, that's what you'll get.
-- error compiling committee.c: too many arguments to function -- 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