Marcelo Tosatti wrote:
On Tue, May 27, 2008 at 04:17:30PM +0300, Avi Kivity wrote:
Instead of having two timer bits, how about keeping just on
MIGRATE_TIMER bit which migrates both, and having
__kvm_migrate_pit_timer() return if not on vcpu 0?
This can result in shorter code, and in less proliferation of the "pit
is bound to vcpu 0" logic.
Sure.
Migrate the PIT timer to the physical CPU which vcpu0 is scheduled on,
similarly to what is done for the LAPIC timers, otherwise PIT interrupts
will be delayed until an unrelated event causes an exit.
Thanks, applied.
--
Do not meddle in the internals of kernels, for they are subtle and quick to
panic.
--
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