WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] another xend race: qemu-dm versus device hotplug

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] another xend race: qemu-dm versus device hotplug
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Fri, 25 Jul 2008 15:25:34 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 Jul 2008 07:26:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <18569.54383.326409.506534@xxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080724175820.GB21878@xxxxxxxxxxxxxxxxxxxxxxx> <18569.54383.326409.506534@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, Jul 25, 2008 at 02:26:07PM +0100, Ian Jackson wrote:

> Perhaps xend could advertise in xenstore somehow that the new approach
> was going to work ?

The simplest solution is to write device-status as "connecting" before
starting the device model, then make it be "connected" when done.

If qemu-dm doesn't see device-status at all, it merrily marches on (with
a warning, I think). Otherwise it waits to see "connected".

BTW I noticed that the tpm code has tried to fix this problem on its
own. I think that can all be ripped out.

regards
john

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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