George Lenzer
2006-Dec-06 19:50 UTC
[Xen-users] ''xm save'' Does Not Work with Windows 2003 Server
Experiencing a problem with ''xm save'' for a Win2k3 VM. At first we tried using Xen-3.0.3 on a Gentoo 2006.1 box built from source. Then thinking that we might have an easier time with a "supported" OS, we tried going with Fedora Core 6 and the built in Xen. In both instances we had the same errors when trying to save the state of a Win2K3 VM: Here is the config of the VM: import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 512 shadow_memory = 8 name = "win2k3U" vif = [ ''type=ioemu, bridge=xenbr0, mac=00:16:3e:00:00:aa'' ] disk = [ ''phy:/dev/xenspace/win2k3U,ioemu:hda,w'', ''file:/root/win2k3.iso,hdc:cdrom,r'' ] device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' boot="c" sdl=0 vnc=1 stdvga=0 serial=''pty'' ---- Here is the error when executing the ''xm save'' command: xm save win2k3U /tmp/win2k3U.stat Error: /usr/lib64/xen/bin/xc_save 21 2 0 0 0 failed Usage: xm save <Domain> <CheckpointFile> Save a domain state to restore later. ---- Here is what shows up in the xen log when read with ''xm log'' after attempting to save the VM: [2006-12-06 14:37:15 xend 3228] DEBUG (XendCheckpoint:83) [xc_save]: /usr/lib64/xen/bin/xc_save 20 2 0 0 0 [2006-12-06 14:37:15 xend 3228] ERROR (XendCheckpoint:236) Couldn\047t map p2m_frame_list_list (errno 14): 14 [2006-12-06 14:37:15 xend 3228] ERROR (XendCheckpoint:236) Save exit rc=1 [2006-12-06 14:37:15 xend 3228] ERROR (XendCheckpoint:106) Save failed on domain win2k3U (2). Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 100, in save forkHelper(cmd, fd, saveInputHandler, False) File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 227, in forkHelper raise XendError("%s failed" % string.join(cmd)) XendError: /usr/lib64/xen/bin/xc_save 20 2 0 0 0 failed ---- All of this is identical to what we experienced on the Gentoo box. I suspect it has something to do with a Python problem. But what? In some of my searching I found results pointing at a problem that was identical but was fixed before Xen-3.0.3 came out. However, even after attempting to apply the changes, we still experience this error. Is anyone else having trouble with this? Does ''xm save'' only work with paravirtualized systems (I am successfully using the xm save with a Xen-3.0.2 system at home that doesn''t have HVM support)? Soe ''xm save'' NOT work with Windows? Any ideas at all? Thanks, George -- George Lenzer Computer and Networking Specialist Cleveland Public Library Automation Department Office: (216)623-2981 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-Dec-07 12:03 UTC
Re: [Xen-users] ''xm save'' Does Not Work with Windows 2003 Server
George Lenzer wrote:> Experiencing a problem with ''xm save'' for a Win2k3 VM.Until recently, hvm domains where known to not have save/restore/migrate features. My knowledge might be slightly outdated, there''s a paper stating the work on this is going forward, and it''s some months old: http://www.xensource.com/files/summit_3/HVM_save_restore.pdf Are you sure there is something saying that it works, and is included in the stable releases in the meantime? Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2006-Dec-07 12:28 UTC
Re: [Xen-users] ''xm save'' Does Not Work with Windows 2003 Server
On Thu, Dec 07, 2006 at 01:03:00PM +0100, Henning Sprang wrote:> George Lenzer wrote: > > Experiencing a problem with ''xm save'' for a Win2k3 VM. > > Until recently, hvm domains where known to not have save/restore/migrate > features. > > My knowledge might be slightly outdated, there''s a paper stating the > work on this is going forward, and it''s some months old: > > http://www.xensource.com/files/summit_3/HVM_save_restore.pdf > > Are you sure there is something saying that it works, and is included in > the stable releases in the meantime? >I believe HVM save/restore/migration is planned for Xen 3.0.5. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alain Black
2006-Dec-07 13:14 UTC
RE: [Xen-users] ''xm save'' Does Not Work with Windows 2003 Server
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Pasi Kärkkäinen > Sent: Thursday, December 07, 2006 5:29 AM > To: Henning Sprang > Cc: George Lenzer; xen-users@lists.xensource.com > Subject: Re: [Xen-users] ''xm save'' Does Not Work with Windows > 2003 Server > > > On Thu, Dec 07, 2006 at 01:03:00PM +0100, Henning Sprang wrote: > > George Lenzer wrote: > > > Experiencing a problem with ''xm save'' for a Win2k3 VM. > > > > Until recently, hvm domains where known to not have > > save/restore/migrate features. > > > > My knowledge might be slightly outdated, there''s a paper > stating the > > work on this is going forward, and it''s some months old: > > > > http://www.xensource.com/files/summit_3/HVM_save_restore.pdf > > > > Are you sure there is something saying that it works, and > is included > > in the stable releases in the meantime? > > > > > I believe HVM save/restore/migration is planned for Xen 3.0.5. >I was told that it would be available in the first half of 2007 when I asked in the enterprise forums. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users