[libvirt] CAP_SYS_RAWIO missing for qemu-kvm device passthrough

2010-05-13 Thread Gerd v. Egidy
Hi, I'm running current git libvirt on Fedora 13 beta. I enabled the use of libcap-ng as it is done in the regular F13 .spec. When I now pass a pci card through to a qemu-kvm guest using vt-d I get this error from qemu-kvm: Failed to assign irq for "hostdev0": Operation not permitted Perhaps y

Re: [libvirt] CAP_SYS_RAWIO missing for qemu-kvm device passthrough

2010-05-13 Thread Chris Wright
* Gerd v. Egidy (li...@egidy.de) wrote: > Hi, > > I'm running current git libvirt on Fedora 13 beta. I enabled the use of > libcap-ng as it is done in the regular F13 .spec. > > When I now pass a pci card through to a qemu-kvm guest using vt-d I get this > error from qemu-kvm: > > Failed to as

Re: [libvirt] CAP_SYS_RAWIO missing for qemu-kvm device passthrough

2010-05-13 Thread Gerd v. Egidy
Hi Chris, > > I traced the issue down to a missing CAP_SYS_RAWIO.The kvm kernel module > > requires CAP_SYS_RAWIO to use the KVM_ASSIGN_DEV_IRQ ioctl. > > There is some pending work in KVM to deal with this. It simply removes > CAP_SYS_RAWIO. Need to finish auditing this. Thanks for confirmi

Re: [libvirt] CAP_SYS_RAWIO missing for qemu-kvm device passthrough

2010-05-13 Thread Chris Wright
* Gerd v. Egidy (li...@egidy.de) wrote: > Hi Chris, > > > > I traced the issue down to a missing CAP_SYS_RAWIO.The kvm kernel module > > > requires CAP_SYS_RAWIO to use the KVM_ASSIGN_DEV_IRQ ioctl. > > > > There is some pending work in KVM to deal with this. It simply removes > > CAP_SYS_RAWIO.

Re: [libvirt] CAP_SYS_RAWIO missing for qemu-kvm device passthrough

2010-05-14 Thread Daniel P. Berrange
On Fri, May 14, 2010 at 12:24:13AM +0200, Gerd v. Egidy wrote: > Hi Chris, > > > > I traced the issue down to a missing CAP_SYS_RAWIO.The kvm kernel module > > > requires CAP_SYS_RAWIO to use the KVM_ASSIGN_DEV_IRQ ioctl. > > > > There is some pending work in KVM to deal with this. It simply rem