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] removing a block device from windows

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] removing a block device from windows
From: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
Date: Fri, 15 Jul 2011 09:09:39 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 15 Jul 2011 01:10:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1310716999.634.554.camel@xxxxxxxxxxxxxxxxxxxxxx>
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: <AEC6C66638C05B468B556EA548C1A77D01DE329F@trantor> <1310716999.634.554.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcxCxlY+Ez+J8NIcQlWXCb7fwo51zQAABUCg
Thread-topic: [Xen-devel] removing a block device from windows
The Citrix Windows PV drivers will initiate a ->closing->closed sequence if the 
user invokes a 'safe remove'; i.e. a device eject.

  Paul

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ian Campbell
> Sent: 15 July 2011 09:03
> To: James Harper
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] removing a block device from windows
> 
> On Fri, 2011-07-15 at 02:24 +0100, James Harper wrote:
> > >From dom0 I can do xm block-detach to remove a device from a
> DomU,
> > >which
> > manages the state transition to closing/closed etc then removes
> the
> > device
> >
> > Can a DomU initiate the transition to closed too, or is that not
> > expected to work?
> 
> I reckon that ought to work, by switching the frontend to Closing,
> although I'm not aware of any existing frontends which actually do
> that (maybe it happens on kexec? e.g. pvgrub->kernel)
> 
> Ian.
> 
> 
> 
> _______________________________________________
> 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