diff options
author | James Hogan <james.hogan@imgtec.com> | 2014-05-29 10:16:34 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-05-30 13:01:33 +0200 |
commit | 3a0ba77408f824b1cebf5134c710a8455d7bc8f4 (patch) | |
tree | 99d001667ae0f950a31e18d85e4b65a9f419cca3 /arch/mips/include/asm/kvm_host.h | |
parent | c73c99b0dfa7cab4100fb2699d0b7362322278a1 (diff) | |
download | talos-obmc-linux-3a0ba77408f824b1cebf5134c710a8455d7bc8f4.tar.gz talos-obmc-linux-3a0ba77408f824b1cebf5134c710a8455d7bc8f4.zip |
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 <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: kvm@vger.kernel.org
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: Sanjay Lal <sanjayl@kymasys.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/include/asm/kvm_host.h')
0 files changed, 0 insertions, 0 deletions