diff options
| author | Marcelo Tosatti <mtosatti@redhat.com> | 2013-03-11 23:10:24 -0300 |
|---|---|---|
| committer | Gleb Natapov <gleb@redhat.com> | 2013-03-12 13:18:00 +0200 |
| commit | 03ba32cae66e3798d697e582633af2c7dd6907e5 (patch) | |
| tree | f57ea6a992f4032a83af79f20a5dd63818bf0b99 /lib/mpi/mpiutil.c | |
| parent | 0fa24ce3f57144e390a1566774c23434975a52a9 (diff) | |
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
