kevin.zhang@octlink.com
2013-Dec-19 02:20 UTC
HVM migrate failed on both xen 4.1 and xen 4.2
Hi all, These days I am testing xen live migration with xen. The result is that: PVM migration works well all the time. However, HVM windows vm migration always failed. I'm using xen 4.1 and 4.2 with NFS as shared storage, and both failed with HVM migration. We are mainly using xend toolstack. After searching for the error messages, I found lots of people had this problem, and it related to hvm restore function bug. Could anyone help us? Thank you very much! Error messages are: [2013-12-19 10:11:45 2027] INFO (XendCheckpoint:260) restore hvm domain 4, apic=1, pae=1 [2013-12-19 10:11:45 2027] DEBUG (image:337) Stored a VNC password for vfb access [2013-12-19 10:11:45 2027] DEBUG (image:891) args: boot, val: dc [2013-12-19 10:11:45 2027] DEBUG (image:891) args: fda, val: None [2013-12-19 10:11:45 2027] DEBUG (image:891) args: fdb, val: None [2013-12-19 10:11:45 2027] DEBUG (image:891) args: soundhw, val: None [2013-12-19 10:11:45 2027] DEBUG (image:891) args: localtime, val: 0 [2013-12-19 10:11:45 2027] DEBUG (image:891) args: serial, val: ['pty'] [2013-12-19 10:11:45 2027] DEBUG (image:891) args: std-vga, val: 0 [2013-12-19 10:11:45 2027] DEBUG (image:891) args: isa, val: 0 [2013-12-19 10:11:45 2027] DEBUG (image:891) args: acpi, val: 1 [2013-12-19 10:11:45 2027] DEBUG (image:891) args: usb, val: 0 [2013-12-19 10:11:45 2027] DEBUG (image:891) args: usbdevice, val: tablet [2013-12-19 10:11:45 2027] DEBUG (image:891) args: gfx_passthru, val: None [2013-12-19 10:11:45 2027] INFO (image:822) Need to create platform device.[domid:4] [2013-12-19 10:11:45 2027] DEBUG (XendCheckpoint:278) restore:shadow=0xc, _static_max=0x40000000, _static_min=0x0, [2013-12-19 10:11:45 2027] DEBUG (XendCheckpoint:305) [xc_restore]: /usr/lib/xen/bin/xc_restore 4 4 6 7 1 1 1 0 [2013-12-19 10:12:10 2027] INFO (XendCheckpoint:423) xc: error: Failed to allocate memory for batch.!: Internal error [2013-12-19 10:12:11 2027] DEBUG (XendDomainInfo:3077) XendDomainInfo.destroy: domid=4 [2013-12-19 10:12:11 2027] ERROR (XendDomainInfo:3091) XendDomainInfo.destroy: domain destruction failed. Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", line 3084, in destroy xc.domain_pause(self.domid) Error: (3, 'No such process') [2013-12-19 10:12:11 2027] DEBUG (XendDomainInfo:2407) No device model [2013-12-19 10:12:11 2027] DEBUG (XendDomainInfo:2409) Releasing devices [2013-12-19 10:12:11 2027] DEBUG (XendDomainInfo:2415) Removing console/0 [2013-12-19 10:12:11 2027] DEBUG (XendDomainInfo:1276) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0 [2013-12-19 10:12:11 2027] DEBUG (XendDomainInfo:2415) Removing vfb/0 [2013-12-19 10:12:11 2027] DEBUG (XendDomainInfo:1276) XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0 [2013-12-19 10:12:11 2027] INFO (XendDomain:1126) Domain win08 (c8bf80c8-d63c-4abe-a523-26fb2439f816) deleted. [2013-12-19 10:12:11 2027] ERROR (XendCheckpoint:357) /usr/lib/xen/bin/xc_restore 4 4 6 7 1 1 1 0 failed Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py", line 309, in restore forkHelper(cmd, fd, handler.handler, True) File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py", line 411, in forkHelper raise XendError("%s failed" % string.join(cmd)) XendError: /usr/lib/xen/bin/xc_restore 4 4 6 7 1 1 1 0 failed [2013-12-19 10:12:11 2027] ERROR (XendDomain:1194) Restore failed Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line 1178, in domain_restore_fd dominfo = XendCheckpoint.restore(self, fd, paused=paused, relocating=relocating) File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py", line 358, in restore raise exn XendError: /usr/lib/xen/bin/xc_restore 4 4 6 7 1 1 1 0 failed _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users