summaryrefslogtreecommitdiffstats
path: root/arch/h8300
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2013-06-11 23:31:12 -0300
committerGleb Natapov <gleb@redhat.com>2013-06-12 14:24:11 +0300
commit8915aa27d5efbb9185357175b0acf884325565f9 (patch)
tree1ff764deecb8f617e74579c46341dce7682ff615 /arch/h8300
parent05988d728dcd962d50374e4e63171324163005b6 (diff)
downloadop-kernel-dev-8915aa27d5efbb9185357175b0acf884325565f9.zip
op-kernel-dev-8915aa27d5efbb9185357175b0acf884325565f9.tar.gz
KVM: x86: handle idiv overflow at kvm_write_tsc
Its possible that idivl overflows (due to large delta stored in usdiff, valid scenario). Create an exception handler to catch the overflow exception (division by zero is protected by vcpu->arch.virtual_tsc_khz check), and interpret it accordingly (delta is larger than USEC_PER_SEC). Fixes https://bugzilla.redhat.com/show_bug.cgi?id=969644 Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud