From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: Device assignment: Check for privileges before assigning irq Date: Mon, 18 Aug 2008 13:11:19 +0300 Message-ID: <48A94AC7.3090300@qumranet.com> References: <1218633757-24687-1-git-send-email-amit.shah@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Amit Shah Return-path: Received: from il.qumranet.com ([212.179.150.194]:49104 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751873AbYHRKLU (ORCPT ); Mon, 18 Aug 2008 06:11:20 -0400 In-Reply-To: <1218633757-24687-1-git-send-email-amit.shah@qumranet.com> Sender: kvm-owner@vger.kernel.org List-ID: Amit Shah wrote: > 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. > Applied, thanks. -- error compiling committee.c: too many arguments to function