Bug 629334

Summary: use native cancel_work_sync() function
Product: Red Hat Enterprise Linux 5 Reporter: Eduardo Habkost <ehabkost>
Component: kvmAssignee: Eduardo Habkost <ehabkost>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: urgent    
Version: 5.6CC: fyang, mjenner, mkenneth, virt-maint, ykaul
Target Milestone: beta   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kvm-83-195.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 629333 Environment:
Last Closed: 2011-01-13 23:37:26 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: 629333    
Bug Blocks:    

Description Eduardo Habkost 2010-09-01 17:16:57 UTC
After solving the conflict below, kvm-userspace may start using the native version of the function, instead of a fake implementation that does nothing.


+++ This bug was initially created as a clone of Bug #629333 +++

Description of problem:

When trying to build latest kvm modules against kernel-devel-2.6.18-214.el5.x86_64:

/home/ehabkost/code/kvm/kvm-userspace/kernel/x86/../external-module-compat-comm.h:547: error: static declaration of ‘cancel_work_sync’ follows non-static declaration
include/linux/workqueue.h:117: error: previous declaration of ‘cancel_work_sync’ was here
make[3]: *** [/home/ehabkost/code/kvm/kvm-userspace/kernel/x86/svm.o] Error 1


The function was included on newer kernels, so we need to solve the naming conflict.

Comment 5 YangFeng 2010-11-03 06:53:14 UTC
Successfully make build against kernel-devel-2.6.18-227.el5.x86_64. So this bug
has been fixed.

Comment 8 errata-xmlrpc 2011-01-13 23:37:26 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-0028.html