Bug 581396
Summary: | [PATCH][RHEL5.5] Fix Time drift on KVM x86_64 RHEL5.5 Guest using PV clock | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Teruaki Ishizaki <ishizaki.teruaki> | ||||
Component: | kernel | Assignee: | Glauber Costa <gcosta> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.5 | CC: | mjenner, philippe.plouffe, tburke, virt-maint, ykaul | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-01-13 21:25:44 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 580949 | ||||||
Attachments: |
|
Description
Teruaki Ishizaki
2010-04-12 06:11:48 UTC
Created attachment 405894 [details]
fixed for calculating cycles_per_tick
The problem is valid, but the patch is wrong. It totally breaks kvmclock. I am cooking up a new one, and will submit for inclusion soon. in kernel-2.6.18-206.el5 You can download this test kernel from http://people.redhat.com/jwilson/el5 Detailed testing feedback is always welcomed. I understand that it is the following thing, am I right? ================================================== [when kernel version is kernel-2.6.18-164.2.1.el5 or later version] 1) use_kvm_time = 1 && timekeeping_use_tsc = 1 => use hypervisor clock(cycles per tick = hv_clock cycle) 2) use_kvm_time = 0 && timekeeping_use_tsc = 1 => use tsc directly(cycles per tick = cpu_khz(or tsc_khz)) ================================================== I tested using kernel-2.6.18-206.el5 and verified problem was fixed. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0017.html |