Bug 500568

Summary: kernel-xen should *not* include pci-stub driver
Product: Red Hat Enterprise Linux 5 Reporter: Daniel Berrangé <berrange>
Component: kernel-xenAssignee: Don Dutile (Red Hat) <ddutile>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: dzickus, emcnabb, llim, sghosh, xen-maint
Target Milestone: beta   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-02 08:56:01 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:
Attachments:
Description Flags
Remove pci-stub driver from -xen kernels none

Description Daniel Berrangé 2009-05-13 10:33:52 UTC
Description of problem:
The latest kernel-xen has the newly backported pci-stub driver built-in to the kernel by default. 

This causes a problem in handling of PCI passthrough to guest VMs, because libvirt sees that pci-stub is present and uses that.  XenD in RHEL-5, however, *requires* that pciback is used and cannot work with pci-stub. It is not even possible to workaround this by blacklisting the pci-stub because it was compiled into the kernel, not built as a module.

We need to turn off pci-stub for kernel-xen builds, and only have it in bare-metal builds for use with KVM

Version-Release number of selected component (if applicable):
Linux rhel5xen 2.6.18-146.el5xen #1 SMP Mon May 11 19:08:09 EDT 2009 i686 athlon i386 GNU/Linux


How reproducible:
Always

Steps to Reproduce:
1. Boot kernel-xen
2. ls /sys/bus/pci/drivers
3. 
 
Actual results:
pci-stub is present

Expected results:
pci-stub is not present, and also not built as a module

Additional info:

Comment 2 Don Dutile (Red Hat) 2009-05-15 15:56:35 UTC
Created attachment 344191 [details]
Remove pci-stub driver from -xen kernels

Comment 3 Don Zickus 2009-05-19 19:46:51 UTC
in kernel-2.6.18-149.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Please do NOT transition this bugzilla state to VERIFIED until our QE team
has sent specific instructions indicating when to do so.  However feel free
to provide a comment indicating that this fix has been verified.

Comment 7 errata-xmlrpc 2009-09-02 08:56:01 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-2009-1243.html