From: M A Young Subject: Re: xen 4 only seeing one keyboard and mouse Date: Sat, 21 Aug 2010 22:00:37 +0100 (BST) Message-ID: References: <20100721214107.GO17817@reaktio.net> <20100722175153.GA4911@phenom.dumpdata.com> <20100723142724.GB4008@phenom.dumpdata.com> <20100816154618.GA8493@phenom.dumpdata.com> <20100816223354.GA4237@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Return-path: In-Reply-To: <20100816223354.GA4237@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, 16 Aug 2010, Konrad Rzeszutek Wilk wrote: > The one thing that is odd is that in 4.0 we start with vector 0x28 while > in 3.4 it is with 0x20. > > It looks as if one vector is getten eaten. But that should not be such > an issue as the internal mapping of vector->irq is still proper... I can tell you why that happens. For 3.4 new vectors are allocated in the order 32,40,...,216 then 33,41,... etc. in assign_irq_vector from xen/arch/x86/irq.c For 4.0 new vectors are allocated in the order 40,48,...,216 then 33,41,... etc. in __assign_irq_vector from xen/arch/x86/irq.c So for 4.0 the allocation of vector 32 is never attempted, but as it is already reserved for IRQ_MOVE_CLEANUP_VECTOR this shouldn't matter. Michael Young