diff options
author | Marcelo Tosatti | 2013-03-12 03:10:24 +0100 |
---|---|---|
committer | Gleb Natapov | 2013-03-12 12:18:00 +0100 |
commit | 03ba32cae66e3798d697e582633af2c7dd6907e5 (patch) | |
tree | f57ea6a992f4032a83af79f20a5dd63818bf0b99 /arch/x86/include/asm | |
parent | kvm: remove cast for kmalloc return value (diff) | |
download | kernel-qcow2-linux-03ba32cae66e3798d697e582633af2c7dd6907e5.tar.gz kernel-qcow2-linux-03ba32cae66e3798d697e582633af2c7dd6907e5.tar.xz kernel-qcow2-linux-03ba32cae66e3798d697e582633af2c7dd6907e5.zip |
VMX: x86: handle host TSC calibration failure
If the host TSC calibration fails, tsc_khz is zero (see tsc_init.c).
Handle such case properly in KVM (instead of dividing by zero).
https://bugzilla.redhat.com/show_bug.cgi?id=859282
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/x86/include/asm')
0 files changed, 0 insertions, 0 deletions