All of lore.kernel.org
 help / color / mirror / Atom feed
From: ANNIE LI <annie.li@oracle.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: Joshua West <jwest@brandeis.edu>,
	James Harper <james.harper@bendigoit.com.au>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: Error restoring DomU when using GPLPV
Date: Thu, 20 Aug 2009 16:17:24 +0800	[thread overview]
Message-ID: <4A8D0694.2010803@oracle.com> (raw)
In-Reply-To: <C69DD3C4.11489%keir.fraser@eu.citrix.com>

Hi
> Regarding the Linux PV-on-HVM drivers - they may have the same issue. Full
> PV guests do not as they have a gnttab_suspend() function called during
> suspend callback (and for subtle reasons xc_domain_save can detect and not
> save Xenheap pages for a full PV guests anyway - because it can see the P2M
> table in that case).
>   
Live migration of linux PVonHVM passed on  Xen3.4 successfully, but 
windows os with pv driver failed.
> Like I said before -- unmapping the gnttab pages I think will not help you
> for live migration, but I suppose it is a reasonable thing to do anyway. For
> live migration I think xc_domain_save needs t get a bit smarter about
> Xenheap pages in HVM guests.
Yes. The live migration of windows domu with pv driver failed again 
after we added unmapping gnttab and shinfo pages in suspending process. 
The save process is OK, but the restore hit the similar problem. So what 
should we do in windows pv driver to avoid this problem? Any suggestion 
for this issue?

Any suggestion is appreciated.

Following is the log of restore process:

[2009-08-21 00:17:34 2918] DEBUG (XendCheckpoint:278) [xc_restore]: 
/usr/lib/xen/bin/xc_restore 31 33 2 3 1 1 1
[2009-08-21 00:17:34 2918] INFO (XendCheckpoint:418) xc_domain_restore 
start: p2m_size = 100000
[2009-08-21 00:17:34 2918] INFO (XendCheckpoint:418) Reloading memory 
pages:   0%
[2009-08-21 00:17:44 2918] INFO (XendCheckpoint:418) Failed allocation 
for dom 33: 7 extents of order 0
[2009-08-21 00:17:44 2918] INFO (XendCheckpoint:418) ERROR Internal 
error: Failed to allocate memory for batch.!
[2009-08-21 00:17:44 2918] INFO (XendCheckpoint:418)
[2009-08-21 00:17:44 2918] INFO (XendCheckpoint:418) Restore exit with rc=1
[2009-08-21 00:17:44 2918] DEBUG (XendDomainInfo:2750) 
XendDomainInfo.destroy: domid=33
[2009-08-21 00:17:44 2918] ERROR (XendDomainInfo:2764) 
XendDomainInfo.destroy: domain destruction failed.
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", 
line 2757, in destroy
    xc.domain_pause(self.domid)
Error: (3, 'No such process')
[2009-08-21 00:17:44 2918] DEBUG (XendDomainInfo:2225) No device model
[2009-08-21 00:17:44 2918] DEBUG (XendDomainInfo:2227) Releasing devices
[2009-08-21 00:17:44 2918] DEBUG (XendDomainInfo:2240) Removing vif/0
[2009-08-21 00:17:44 2918] DEBUG (XendDomainInfo:1142) 
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2009-08-21 00:17:44 2918] DEBUG (XendDomainInfo:2240) Removing vbd/768
[2009-08-21 00:17:44 2918] DEBUG (XendDomainInfo:1142) 
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2009-08-21 00:17:44 2918] DEBUG (XendDomainInfo:2240) Removing vfb/0
[2009-08-21 00:17:44 2918] DEBUG (XendDomainInfo:1142) 
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2009-08-21 00:17:44 2918] DEBUG (XendDomainInfo:2240) Removing console/0
[2009-08-21 00:17:44 2918] DEBUG (XendDomainInfo:1142) 
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2009-08-21 00:17:45 2918] ERROR (XendDomain:1149) Restore failed
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 
1147, in domain_restore_fd
    return XendCheckpoint.restore(self, fd, paused=paused, 
relocating=relocating)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py", 
line 282, in restore
    forkHelper(cmd, fd, handler.handler, True)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py", 
line 406, in forkHelper
    raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib/xen/bin/xc_restore 31 33 2 3 1 1 1 failed


Thanks
Annie.

  parent reply	other threads:[~2009-08-20  8:17 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04  1:22 Error restoring DomU when using GPLPV James Harper
2009-08-04  1:41 ` James Harper
2009-08-04  5:30   ` James Harper
2009-08-04  6:10     ` James Harper
2009-08-04  7:58       ` James Harper
2009-08-04  8:21         ` Keir Fraser
2009-08-04  9:01           ` James Harper
2009-08-04  9:27             ` Keir Fraser
2009-08-04  9:34               ` James Harper
2009-08-04 10:28                 ` Keir Fraser
2009-08-04 10:40                   ` James Harper
2009-08-04 11:02                     ` Keir Fraser
2009-08-04 11:34                       ` James Harper
2009-08-04 13:12                         ` Keir Fraser
2009-08-18  8:17                           ` Pasi Kärkkäinen
2009-08-18  9:33                             ` James Harper
2009-08-19  7:39                               ` ANNIE LI
2009-08-19  7:52                                 ` Keir Fraser
2009-08-20  3:21                                   ` ANNIE LI
2009-09-05  4:02                           ` Mukesh Rathor
2009-09-05  6:49                             ` Keir Fraser
2009-08-20  8:17                       ` ANNIE LI [this message]
2009-08-20  8:27                         ` Keir Fraser
2009-08-20  9:42                           ` James Harper
2009-08-20 10:05                             ` ANNIE LI
2009-08-20 10:20                               ` Keir Fraser
2009-08-20 11:55                               ` ANNIE LI
2009-08-20 12:28                                 ` Keir Fraser
2009-08-21  4:11                                   ` ANNIE LI
2009-08-26 11:04                                     ` ANNIE LI
2009-08-27  9:28                                       ` ANNIE LI
2009-08-28  3:10                                         ` ANNIE LI
2009-09-02  4:05                                           ` ANNIE LI
2009-09-02  4:27                                             ` ANNIE LI
2009-09-04 21:28                                               ` Dan Magenheimer
2009-09-04 23:02                                                 ` Dan Magenheimer
2009-09-05  6:52                                                   ` Keir Fraser
2009-09-05  7:33                                                     ` ANNIE LI
2009-09-15  2:25                                                     ` Mukesh Rathor
2009-09-15  7:39                                                       ` Keir Fraser
2009-09-15 19:14                                                         ` Mukesh Rathor
2009-09-15 21:25                                                           ` Keir Fraser
2009-09-15 21:29                                                             ` Keir Fraser
2009-09-15 22:27                                                               ` Mukesh Rathor
2009-09-16  4:37                                                               ` ANNIE LI
2009-09-16 11:10                                                                 ` ANNIE LI
2009-09-16 12:28                                                                   ` Keir Fraser
2009-09-16 18:09                                                                     ` Dan Magenheimer
2009-09-16 20:50                                                                       ` Mukesh Rathor
2009-09-17  6:21                                                                         ` Keir Fraser
2009-09-17 15:41                                                                           ` Dan Magenheimer
2009-09-24 20:24                                                                   ` Error restoring DomU when using GPLPV / fix for GPLPV drivers Pasi Kärkkäinen
2009-10-27 20:05                                                                     ` Keith Coleman
2009-08-20 10:19                             ` Error restoring DomU when using GPLPV Keir Fraser
2009-08-20 10:41                               ` Keir Fraser
2009-08-04 10:39               ` James Harper
2009-08-04  9:26           ` James Harper
2009-08-25 10:02             ` Wayne Gong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A8D0694.2010803@oracle.com \
    --to=annie.li@oracle.com \
    --cc=james.harper@bendigoit.com.au \
    --cc=jwest@brandeis.edu \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.