From: James Hogan Date: Thu, 29 May 2014 09:16:34 +0000 (+0100) Subject: MIPS: KVM: Migrate hrtimer to follow VCPU X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~8^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a0ba77408f824b1cebf5134c710a8455d7bc8f4;p=pandora-kernel.git MIPS: KVM: Migrate hrtimer to follow VCPU When a VCPU is scheduled in on a different CPU, refresh the hrtimer used for emulating count/compare so that it gets migrated to the same CPU. This should prevent a timer interrupt occurring on a different CPU to where the guest it relates to is running, which would cause the guest timer interrupt not to be delivered until after the next guest exit. Signed-off-by: James Hogan Cc: Paolo Bonzini Cc: Gleb Natapov Cc: kvm@vger.kernel.org Cc: Ralf Baechle Cc: linux-mips@linux-mips.org Cc: Sanjay Lal Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed