From: Amit Shah Date: Wed, 13 Aug 2008 13:22:37 +0000 (+0300) Subject: KVM: Device assignment: Check for privileges before assigning irq X-Git-Tag: v2.6.28-rc1~269^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6762b7299aa115e11815decd1fd982d015f09615;p=pandora-kernel.git KVM: Device assignment: Check for privileges before assigning irq Even though we don't share irqs at the moment, we should ensure regular user processes don't try to allocate system resources. We check for capability to access IO devices (CAP_SYS_RAWIO) before we request_irq on behalf of the guest. Noticed by Avi. Signed-off-by: Amit Shah Signed-off-by: Avi Kivity --- Reading git-diff-tree failed