diff options
| author | Sanjay Lal | 2014-06-18 00:10:27 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2014-06-18 16:57:52 +0200 |
| commit | 353a243e22fae2b993ab7f2d123c2b81013b3c5d (patch) | |
| tree | ae93336456dfa862c4b872b2a67b5bdee41dab7a /include/hw | |
| parent | target-mips: Reset CPU timer consistently (diff) | |
| download | qemu-353a243e22fae2b993ab7f2d123c2b81013b3c5d.tar.gz qemu-353a243e22fae2b993ab7f2d123c2b81013b3c5d.tar.xz qemu-353a243e22fae2b993ab7f2d123c2b81013b3c5d.zip | |
hw/mips/cputimer: Don't start periodic timer in KVM mode
Compare/Count timer interrupts are handled in-kernel for KVM. Therefore
don't bother creating the timer at init time if KVM is enabled. This
will conveniently avoid attempts to set the timeout when
cpu_mips_store_count() is called at reset with KVM enabled, treating the
timer as stopped so that CP0_Count is modified directly.
Signed-off-by: Sanjay Lal <sanjayl@kymasys.com>
[james.hogan@imgtec.com: Update after "target-mips: Reset CPU timer
consistently" which moves timer start to reset time]
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw')
0 files changed, 0 insertions, 0 deletions
