|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [PATCH 0/2] Introduce panic hypercall |
Date: | Tue, 21 Jun 2011 12:07:26 +0300 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |