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] [RFC] Intercept some xm commands on HVM

To: Stefan Berger <stefanb@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [RFC] Intercept some xm commands on HVM
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Fri, 20 Oct 2006 22:47:33 +0100
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 20 Oct 2006 14:47:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1161378756.17852.12.camel@xxxxxxxxxxxxxxxxxx>
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>
References: <1161378756.17852.12.camel@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, Oct 20, 2006 at 05:12:36PM -0400, Stefan Berger wrote:

> Hello!
> 
>  I find some of the xm commands when applied to an HVM domain
> misleading:
> 
> xm shutdown                 - behaves like 'xm destroy' unlike the
>                               paravirtualized case that gracefully
>                               shuts down a domain; use 'destroy' instead
>                               for HVM
> xm migrate / save           - returns                      
>                               Error: /usr/lib/xen/bin/xc-save ... failed
> 
>  The attached patch intercepts only those commands now and returns a
> 'better' message.

These commands aren't necessarily unsupported for HVM domains -- they need PV
driver support, but that's not a fundamental limitation.  We need a decent
mechanism for guest capability interrogation, that's for sure, so that we can
give better diagnostics; I'd like to see this mechanism in Xen 3.0.4.  For
now, I don't think we can reject these commands unconditionally.

Ewan.

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

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