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] Checkpointing for HVM guest with PV driver

To: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Subject: Re: [Xen-devel] Checkpointing for HVM guest with PV driver
From: Brendan Cully <brendan@xxxxxxxxx>
Date: Wed, 8 Sep 2010 09:38:39 -0700
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 08 Sep 2010 09:39:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <789F9655DD1B8F43B48D77C5D30659732A2A269E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Mail-followup-to: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
References: <789F9655DD1B8F43B48D77C5D30659732A2A269E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2010-08-04)
On Wednesday, 08 September 2010 at 22:36, Jiang, Yunhong wrote:
> Hi, Brendan, I noticed following code in checkpoint_open() in 
> tools/python/xen/lowlevel/checkpoint/libcheckpoint.c:
> 
>     } else if (s->domtype == dt_pvhvm) {
>        checkpoint_close(s);
>        s->errstr = "PV-on-HVM is unsupported";
> 
>        return -1;
>     }
> 
> This check means for HVM guest with PV driver, the checkpoint/remus will not 
> work. Are there any special reason for this checking?
> 
> Originally I thought PV driver on HVM guest can't live migrate, but I did a 
> quick experimental to live migration a HVM guest with PV driver installed, (I 
> only tried to migrate to localhost since I have only one system on hand) and 
> seems it works well, so what's the reason for this restriction?

It simply hasn't been tested. I haven't looked at how suspend
notification/cancellation works in the PVHVM drivers, or whether it
affects ioemu at all. If live migration works already, then there
probably isn't much to it. Have you tried removing that check and
making checkpoint treat PVHVM the same as HVM, then running remus?

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

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