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] Add a --force option to detach operations

To: Glauber de Oliveira Costa <glommer@xxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Add a --force option to detach operations
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Thu, 14 Dec 2006 13:29:43 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Glauber de Oliveira Costa <gcosta@xxxxxxxxxx>
Delivery-date: Thu, 14 Dec 2006 05:29:49 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5d6222a80612140452k5a90bd2ep4a5dd0e59698f9e0@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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Accfg+n5KE0e+ot3Edu2MgAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] Add a --force option to detach operations
User-agent: Microsoft-Entourage/11.2.5.060620
On 14/12/06 12:52, "Glauber de Oliveira Costa" <glommer@xxxxxxxxx> wrote:

> How can we be more brutal than that ? The only non-brutal thing I've put there
> is denying disconnection when still in Connected state. But if for
> some reason the frontend does not want to disconnect, then the tools
> have no power over it. It can simply crash guest.
> 
> Example: attach a device, mount it at guest, and try to detach it
> using --force. It should not force it, as it crashes the guest.

Don't use --force if you don't know what you're doing is a reasonable
caveat. You're on flakey ground if you have to use it in any case as
something is obviously screwed.

 -- Keir


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

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