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-users] Hot plug scripts

To: <ronaldoafonso@xxxxxxxxx>
Subject: RE: [Xen-users] Hot plug scripts
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sun, 23 Aug 2009 09:57:07 +1000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 22 Aug 2009 16:58:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1250949362.3523.4.camel@moon>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <80f8cd580908211755u6d7890ccub59d4a947b5c0d7b@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0177CD66@trantor> <1250949362.3523.4.camel@moon>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcojMGar1G8PjJ9kQY268UfALu5KBQAU0DQw
Thread-topic: [Xen-users] Hot plug scripts
> Hi James,
> Actually I have the following drivers compiled as "built-in".
> Is there any way to "debug" the hotplug scripts?
> I mean, how can I see the hotplug executing on the fly (while the domU
> is booting)?
> Thanks

There could be but it would be a bit messy (turn on tracing in the shell
and dump the output somewhere perhaps?)

The setup process is approximately that the frontend driver (in domu or
qemu) set the state to 'initialising' in xenstore, then write an event
channel number and a few grant ref numbers to xenstore, then set the
state the 'connecting'. If the backend is happy with the setup it sets
the state to 'connected' and then so does the frontend (as I said,
approximately, I may have the actual state transitions wrong).

Can you post your kernel config, and also the output of 'xenstore-ls'
while the 'waiting for devices to initialise' countdown is in progress


Xen-users mailing list

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