KVM: remove CAP_SYS_RAWIO requirement from kvm_vm_ioctl_assign_irq
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 12 May 2010 13:46:31 +0000 (09:46 -0400)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:45 +0000 (10:35 +0300)
commit48bb09eee4e102544808c00f43bc40a4a2e43e50
tree8b3124aea0f596062816f4b5b4274685020f956d
parentaad827034e419fa8c5ec39e6455266f0b942d856
KVM: remove CAP_SYS_RAWIO requirement from kvm_vm_ioctl_assign_irq

Remove this check in an effort to allow kvm guests to run without
root privileges.  This capability check doesn't seem to add any
security since the device needs to have already been added via the
assign device ioctl and the io actually occurs through the pci
sysfs interface.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
virt/kvm/assigned-dev.c