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] [PATCH 0/5] xend: Notify xend of udev hardware events

To: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/5] xend: Notify xend of udev hardware events
From: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Date: Fri, 13 Mar 2009 21:45:52 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 13 Mar 2009 06:46:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49BA4C20.8020403@xxxxxxxxxxxxx>
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: <49BA4C20.8020403@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20081209)
Yosuke Iwamatsu wrote:
> There are several xen-api classes that represent physical devices,
> such as PIF, PPCI and PSCSI. At the initialization step, xend creates
> instances of these classes and stores them, so as to later expose
> the host's available physical resources to remote clients.
> 
> The problem is that, when you hot-add of hot-remove a physical device
> to of from the host, currently there is no way xend can detect that.
> So the physical resource information kept in xend may become inconsistent
> with the real state. 
> 
> This series of patches makes xend get notification of hardware changes
> and update the physical resource information. Inside xend, we runs a thread
> which opens a socket and listens to events of hardware configuration changes
> from udev mechanism.
> 
we already have XendMonitor to do that. Is it right to add these patches?

> For now, these patches only support the configuration change of pci devices,
> but it would be easy to add support for other types of physical devices
> (e.g. net or scsi). 
> 
> Regards,
> -----------------------
> Yosuke Iwamatsu
>         NEC Corporation
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


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

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