Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 592021 - race condition in pvclock wallclock calculation
race condition in pvclock wallclock calculation
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm (Show other bugs)
All Linux
urgent Severity urgent
: rc
: ---
Assigned To: Glauber Costa
Virtualization Bugs
: ZStream
Depends On:
Blocks: Rhel5KvmTier2 592033 596623 596625
  Show dependency treegraph
Reported: 2010-05-13 13:31 EDT by Glauber Costa
Modified: 2013-01-09 17:34 EST (History)
6 users (show)

See Also:
Fixed In Version: kvm-83-182.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 592033 (view as bug list)
Last Closed: 2011-01-13 18:35:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0028 normal SHIPPED_LIVE Low: kvm security and bug fix update 2011-01-13 06:03:39 EST

  None (edit)
Description Glauber Costa 2010-05-13 13:31:33 EDT
The hypervisor code for wallclock setting in pvclock is subject to race, since the version variable is static, and thus, shared among all guests.

This means that theoretically, one guest can mess up with the others view of version, causing it to be different among reads, which can lead to a livelock.
Comment 12 Mike Cao 2010-11-03 22:57:30 EDT
Verify this issue on :
# uname -r
# rpm -q kvm

steps:,start 7 guest on 8cores host with -no-kvm-pit-reinjection  -rtc-td-hack -startdate now

actual results:all guests didn't observe large offset(all less than 3s) after boot,pass.

this issue has already been fixed.
Comment 15 errata-xmlrpc 2011-01-13 18:35:32 EST
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.


Note You need to log in before you can comment on or make changes to this bug.