Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 638082

Summary: Backport HVMOP_get_time hypercall
Product: Red Hat Enterprise Linux 5 Reporter: Paolo Bonzini <pbonzini>
Component: kernel-xenAssignee: Paolo Bonzini <pbonzini>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.6CC: mjenner, xen-maint, yuzhang
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-13 21:55:31 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: 514490    
Attachments:
Description Flags
backport of c/s 21772
none
test module none

Description Paolo Bonzini 2010-09-28 07:21:37 UTC
Created attachment 450110 [details]
backport of c/s 21772

I plan to use SCHEDOP_poll to avoid busy waits in the Xen PV drivers for Windows, and I need HVMOP_get_time.  It is a small and easy backport.

Upstream patch:
http://lists.xensource.com/archives/html/xen-devel/2010-07/txtgWrGew5vzc.txt

Comment 1 RHEL Program Management 2010-09-28 13:29:18 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 2 Paolo Bonzini 2010-11-18 17:58:24 UTC
Created attachment 461344 [details]
test module

This test module will print the hypervisor timer in nanoseconds whenever it is loaded or unloaded.  Trying to insmod/rmmod it a few times is enough to verify the bug.

Comment 4 Jarod Wilson 2010-11-23 17:05:23 UTC
in kernel-2.6.18-233.el5
You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5

Detailed testing feedback is always welcomed.

Comment 6 Yufang Zhang 2010-12-16 08:43:48 UTC
QA verified this bug on -237 kernel-xen package with the test module in comment#2:

1. Compile the module on a RHEL5.5 PV guest
2. insmod and rmmod the module for several times. time is printed out. No strange issues are triggered during the insmod/rmmod.

Change this bug to VERIFIED.

Comment 8 errata-xmlrpc 2011-01-13 21:55:31 UTC
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