Bug 867152 - Enable VFIO
Summary: Enable VFIO
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-16 22:15 UTC by Alex Williamson
Modified: 2012-11-01 18:43 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-01 18:43:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Alex Williamson 2012-10-16 22:15:50 UTC
Description of problem:
The VFIO userspace device driver interface was added in Linux 3.6 but is not enabled in Fedora.  This is true of fc17 and I assume fc18.

Version-Release number of selected component (if applicable):
kernel-3.6.1-1.fc17.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install
2. grep VFIO /boot/config-`uname -r`
3.
  
Actual results:
# CONFIG_VFIO is not set

Expected results:
CONFIG_VFIO_IOMMU_TYPE1=m
CONFIG_VFIO=m
CONFIG_VFIO_PCI=m


Additional info:

Comment 1 Josh Boyer 2012-10-17 15:08:25 UTC
Why should we enable this?

Are there any userspace dependencies?

Will it impact how peoples machines (or guests) currently boot?

Comment 2 Alex Williamson 2012-10-17 16:03:22 UTC
(In reply to comment #1)
> Why should we enable this?

VFIO is the new mechanism for doing PCI device assignment in Qemu and should eventually supersede and deprecate KVM based device assignment.

> Are there any userspace dependencies?

No, current qemu development branch will use it if available, but depends on it only for vfio-based PCI device assignment.

> Will it impact how peoples machines (or guests) currently boot?

No, there are no devices automatically probed by the driver, it uses a pci-stub approach to only attach to devices explicitly indicated by the sysadmin.  The driver is only useful in combination with IOMMU hardware, so it's not useful in guests.

Comment 3 Josh Boyer 2012-10-17 16:17:44 UTC
Excellent.  Thanks for the info.

I'm guessing you want this in F17, F18, and rawhide.

Comment 4 Alex Williamson 2012-10-17 16:32:29 UTC
(In reply to comment #3)
> Excellent.  Thanks for the info.
> 
> I'm guessing you want this in F17, F18, and rawhide.

Yes please

Comment 5 Fedora Update System 2012-10-23 21:57:44 UTC
kernel-3.6.3-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/kernel-3.6.3-3.fc18

Comment 6 Fedora Update System 2012-10-24 16:15:39 UTC
Package kernel-3.6.3-3.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.6.3-3.fc18'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16787/kernel-3.6.3-3.fc18
then log in and leave karma (feedback).


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