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 3 of 7] Make suspend return 1 when a domain is re

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 3 of 7] Make suspend return 1 when a domain is resumed
From: Brendan Cully <brendan@xxxxxxxxx>
Date: Fri, 19 Jan 2007 08:36:51 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 19 Jan 2007 08:36:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1D6951C.7E5B%keir@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/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>
Mail-followup-to: keir@xxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <477813c50e5db59ae08d.1168891513@xxxxxxxxxxxxxxxxx> <C1D6951C.7E5B%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-10-30)
On Friday, 19 January 2007 at 15:32, Keir Fraser wrote:
> On 15/1/07 19:05, "Brendan Cully" <brendan@xxxxxxxxx> wrote:
> 
> > Make suspend return 1 when a domain is resumed.
> > 
> > Signed-off-by: Brendan Cully <brendan@xxxxxxxxx>
> 
> We'll do this the other way round (0 on resume; 1 on
> checkpoint/suspend-cancel) for backwards compat.

sorry, that was a bad comment. I'd been using "resume" to mean
suspend-cancel and "reconnect" to mean run in a new domain. This patch
is the backwards compatible version (it sets EAX to 1 in xc_linux_save
rather than xc_linux_restore).

> xc_set_vcpucontext() is a nice thing to have, but it belongs in xc_domain.c
> and it would be great if all direct users of the domctl could be ported to
> use it. I'd gladly take that patch. :-)

ok, I'll prepare that in a bit.

I poked around the elfnote route for advertising kernel features to
xend, and I have a feeling someone else should be designing the API
for that - I only want very little out of it and would probably be
shortsighted. For instance, it wasn't clear to me whether it'd be
better to have an xc function that returns almost raw elfnotes (an
array of (type, length, contents)) or only parsed, named elfnotes, or
only features.

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