On Tue, Jul 29, 2008 at 03:55:26PM +0300, Avi Kivity wrote:
> Sometimes the guest leaves the timer enabled but the output pin masked,  
> (e.g. it doesn't use the timer bug doesn't bother to turn it off  
> properly).  This results in extraneous interrupts, causing unnecessary  
> vmexits and increased power usage.
>
> But if we detect that the guest isn't processing the interrupts, we can  
> turn the timer off, and after the next injection, calculate the number  
> of missing interrupts, and turn the timer on again.  This will have to  
> be done carefully (taking care of the guest adjusting the frequency  
> during the period where we missed injections, for example).

Sounds like a good idea, I'll try something later.

>
> Comments?  Questions?  Patches?

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to