From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [v2] Shared guest irq support Date: Thu, 16 Oct 2008 10:45:34 +0200 Message-ID: <48F6FF2E.5040205@redhat.com> References: <42DFA526FC41B1429CE7279EF83C6BDC01AFB25A@pdsmsx415.ccr.corp.intel.com> <42DFA526FC41B1429CE7279EF83C6BDC01B47EAC@pdsmsx415.ccr.corp.intel.com> <48F6F992.3020203@redhat.com> <200810161628.39861.sheng@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Zhang, Xiantao" , Amit Shah , kvm@vger.kernel.org To: Sheng Yang Return-path: Received: from mx2.redhat.com ([66.187.237.31]:52232 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753710AbYJPIpi (ORCPT ); Thu, 16 Oct 2008 04:45:38 -0400 In-Reply-To: <200810161628.39861.sheng@linux.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Sheng Yang wrote: >>> >>> +#define KVM_USERSPACE_IRQ_SOURCE_ID 1 << 0 >>> + >>> >> This is dangerous, if used in an expression together with a higher >> precedence operator. I fixed it and applied. Thanks to all involved. >> > > Wait a minute.... > > I think I reserved source id 0 to userspace, rather than 1<<0=1... It's > strange... > > + kvm->arch.irq_sources_bitmap = 1; > > What really should be addressed is here... > > Oh right. I changed it to 0. -- error compiling committee.c: too many arguments to function