/dev/vfio/vfio has 600 permissions, but in order for libvirt to be able to use it with default config, it needs to be 666. 3.10 already has a fix queued up, could it be backported to current F19?
Author: Alex Williamson <email@example.com>
Date: Tue Apr 30 15:42:28 2013 -0600
vfio: Set container device mode
Minor 0 is the VFIO container device (/dev/vfio/vfio). On it's own
the container does not provide a user with any privileged access. It
only supports API version check and extension check ioctls. Only by
attaching a VFIO group to the container does it gain any access. Set
the mode of the container to allow access.
Will also need:
Author: Alexey Kardashevskiy <firstname.lastname@example.org>
Date: Wed Jun 5 08:54:16 2013 -0600
vfio: fix crash on rmmod
We can grab those, but is there a reason they aren't CC'd to stable? Particularly the second one?
Alex, see Comment #2, is there a reason these VFIO bits aren't heading for kernel stable tree?
I don't see that they meet the rules for stable. It's not a critical bug as far as the kernel is concerned. Note that both of these are going in during the 3.10 development phase, so there is no case of a released upstream kernel including one without the other.
(In reply to Alex Williamson from comment #4)
> I don't see that they meet the rules for stable. It's not a critical bug as
> far as the kernel is concerned. Note that both of these are going in during
> the 3.10 development phase, so there is no case of a released upstream
> kernel including one without the other.
Ah. I see. I should have looked more first. I thought the rmmod fix was a stand-alone issue.
I've grabbed both for F19.
kernel-3.9.5-301.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.9.5-301.fc19'
as soon as you are able to, then reboot.
Please go to the following url:
then log in and leave karma (feedback).
kernel-3.9.5-301.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.