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-users

[Xen-users] xm save fails

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xm save fails
From: John Croft <john@xxxxxxxxxxxxxxxx>
Date: Wed, 22 Mar 2006 15:15:03 +0000
Delivery-date: Wed, 22 Mar 2006 15:16:34 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
Hi all,

Just installed Xen from the base FC5 released on Monday.

It all seems to work great except for "xm save/migrate" which fails with "Unable to get platform info.: 9" at XendCheckpoint:227.

Playing around with it I found that there is a program called xc_save which is called from XendCheckpoint.py and passed in a file handle for the xend session and the target file named on the command line. These handles seem to be closed when xc_save exec's, so subsequent calls into Xen by xc_save fail. I got it to work by adding...

   from fcntl import ioctl;
   FIONCLEX = 0x5450

near the top of XendCheckpoint.py

and...

   ioctl (fd, FIONCLEX, 0)
   ioctl (xc.handle(), FIONCLEX, 0)

at the beginning of forkHelper.

I'm presuming that there are people in the world that this program works for!!! So am I missing a python config item somewhere? Or what am I doing wrong that I need this incantation ?

thanks
John


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xm save fails, John Croft <=