From: Markus Armbruster Subject: Re: kbdif Date: Thu, 14 Feb 2008 09:42:04 +0100 Message-ID: <87hcgcaq03.fsf@pike.pond.sub.org> References: <20080213174137.GF4378@implementation.uk.xensource.com> <8763wsenbm.fsf@pike.pond.sub.org> <20080213182318.GG4378@implementation.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <20080213182318.GG4378@implementation.uk.xensource.com> (Samuel Thibault's message of "Wed\, 13 Feb 2008 18\:23\:18 +0000") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Samuel Thibault Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Samuel Thibault writes: [...] > Is there a reason for requiring fb and kbd to be initialised "in > parallel"? I mean, hw/xenfb.c requires the kbd to be created, then > the fb to be created, then the kbd to be initialized, then the fb to be > initialized, then the kbd to be connected, then the fb to be connected. > > I would have thought that creating/initializing/connecting kbd first and > then eventually fb would be allowed. > > Samuel I guess it could be done that way too. The state machine in hw/xenfb.c has the code in execution order, to make it easier to read in one forward pass. And it groups the kbd and fb steps together, to highlight their similarities. Any problems with this execution order?