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/
Home Products Support Community News


Re: [Xen-devel] [PATCH 09/14]: libxenlight, domain resume

To: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 09/14]: libxenlight, domain resume
From: Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx>
Date: Tue, 01 Dec 2009 09:20:56 -0500
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Tue, 01 Dec 2009 06:21:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091201061822.GC15791@xxxxxxxxxxxxxxxxxxxxx>
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: <4B1419C4.6010307@xxxxxxxxxxxxxxxx> <20091201061822.GC15791@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20090817)
I know little of hvm. I believe the *right* approach is to parse an elf note of the guest kernel. The hvm "kernel" is the hvmloader, so that would render hvm non-cooperative. The caller will have to provide the kernel path though, since we forget about it.


Vincent Hanquez wrote:
On Mon, Nov 30, 2009 at 07:15:16PM +0000, Andres Lagar-Cavilla wrote:
Added libxenlight implementation for resume domain.
This brings back a domain from the shutdown state
after save, enabling checkpointing.

(I haven't looks at resume stuff for age ..)

I think this only works if the domain is cooperative, if it isn't you need to a
callback in the middle of the calls to do devices related unplugging/plugging.

If that still true, I would prefer to have a "if (pv)" around the code since pv are always suppose to be cooperative

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] [PATCH 09/14]: libxenlight, domain resume, Andres Lagar-Cavilla <=