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] NetBSD and hotplug scripts synchronization using libxl

To: Roger Pau Monné <roger.pau@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] NetBSD and hotplug scripts synchronization using libxl
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Fri, 26 Aug 2011 12:11:31 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 26 Aug 2011 04:13:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAPLaKK4ao1krsvOVH2_TU+sK5YmxF=xxf66qVkWLMXMmmMHsAA@xxxxxxxxxxxxxx>
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>
Newsgroups: chiark.mail.xen.devel
References: <CAPLaKK4ao1krsvOVH2_TU+sK5YmxF=xxf66qVkWLMXMmmMHsAA@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Roger Pau Monné writes ("[Xen-devel] NetBSD and hotplug scripts synchronization 
using libxl"):
> This is the only problem left to add NetBSD compatibility to libxl,
> how does this synchronization happen in Linux? I've tried looking at
> the hotplug scripts, but I'm not able to see any kind of
> sincronization, probably because Linux doesn't use vbd anymore in
> libxl, but I think there should also be some kind of synchronization
> with tapdisk device unmouting.

In libxl, libxl waits for the device to be shut down, and is then
responsible for undoing whatever was necessary to make the device
available to blkback (ie, what you are calling "unmounting").

For things which start out as block devices nothing needs to be done
since blkback can use any block device directly.

Ian.

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

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