Description of problem:
kvm_vm_ioctl_assign_irq() checks for CAP_SYS_RAWIO, which is not present for qemu processes launched via libvirt. This check really isn't necessary since it can only operate on devices previously assigned via the assign_device ioctl. Remove the check.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. assign passthrough device via libvirt
2. fail (note this isn't the only problem blocking this path)
assign_irq ioctl fails
Created attachment 416999 [details]
upstream patch backported to rhel6
Here's the patch posted to rhkernel-list. This was accepted upstream. assign_irq only works on devices already registered through assign_device, so it doesn't make much sense to enforce RAWIO here.
Patch(es) available on kernel-2.6.32-31.el6
Tested on kernel-2.6.32-63.el6
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.