This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] kbdif

To: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] kbdif
From: Markus Armbruster <armbru@xxxxxxxxxx>
Date: Thu, 14 Feb 2008 09:42:04 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 14 Feb 2008 00:42:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080213182318.GG4378@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> (Samuel Thibault's message of "Wed\, 13 Feb 2008 18\:23\:18 +0000")
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080213174137.GF4378@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <8763wsenbm.fsf@xxxxxxxxxxxxxxxxx> <20080213182318.GG4378@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx> 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?

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>