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

Re: [Xen-users] Windows PV driver live-migration support

James Harper escribió:
Live migrating still doesn't work for me with the driver 0.10.0.138
for
a 32 bits win2003 vm. These are the contents for each xend.log file,

migrating host:

What about just a save and restore? That's all I'm able to test
unfortunately, so if that works for you but live migration doesn't then
at least I'll know what problem I'm chasing.

Thanks

James

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
No, it doesn't work likewise. Here you have the result,


# xm restore /tmp/lisa.sav
Error: /usr/lib64/xen/bin/xc_restore 52 12 3 4 1 1 1 failed
Usage: xm restore <CheckpointFile> [-p]

Restore a domain from a saved state.
-p, --paused Do not unpause domain after restoring it
xend.log:

[2009-11-16 13:08:47 5406] DEBUG (XendDomainInfo:226) XendDomainInfo.restore(['domain', ['domid', '11'], ['on_crash', 'restart'], ['uuid', 'ce96b99b-a571-a694-7e12-73e664d47419'], ['bo otloader_args'], ['vcpus', '2'], ['name', 'lisa'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['cpus', [['1', '2', '3', '4', '5', '6', '7'], ['1', '2', '3', '4', '5', '6', ' 7']]], ['bootloader'], ['maxmem', '1536'], ['memory', '1536'], ['shadow_memory', '14'], ['vcpu_avail', '3'], ['features'], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['st art_time', '1258372068.96'], ['cpu_time', '40.343097028'], ['online_vcpus', '2'], ['image', ['hvm', ['kernel'], ['videoram', '4'], ['hpet', '0'], ['stdvga', '0'], ['loader', '/usr/lib/ xen/boot/hvmloader'], ['vncconsole', '0'], ['serial', 'pty'], ['vncunused', '1'], ['xen_platform_pci', '1'], ['boot', 'dc'], ['rtc_timeoffset', '2'], ['pci', []], ['pae', '1'], ['vpt_a lign', '1'], ['hap', '1'], ['viridian', '0'], ['acpi', '1'], ['localtime', '1'], ['timer_mode', '1'], ['vnc', '1'], ['nographic', '0'], ['guest_os_type', 'default'], ['pci_msitranslate ', '1'], ['apic', '1'], ['sdl', '0'], ['monitor', '0'], ['usbdevice', 'tablet'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['keymap', 'es'], ['pci_power_mgmt', '0'], ['usb', '0'] , ['xauthority', '/root/.Xauthority'], ['isa', '0'], ['display', 'localhost:10.0'], ['notes', ['SUSPEND_CANCEL', '1']]]], ['status', '2'], ['state', '-b----'], ['store_mfn', '1044476'] , ['device', ['vif', ['bridge', 'eth0'], ['uuid', 'ef4d0a37-142d-1684-ebb6-6123acfe2956'], ['script', '/etc/xen/scripts/vif-bridge'], ['mac', '00:06:5B:13:71:A3'], ['type', 'netfront'] , ['backend', '0']]], ['device', ['vbd', ['uuid', '80285f49-9ca5-402d-b46e-ac4a4f44e31d'], ['bootable', '1'], ['dev', 'hda:disk'], ['uname', 'phy:vgvirt/vmlisa'], ['mode', 'w'], ['back end', '0'], ['bootable', '1'], ['VDI']]], ['device', ['vbd', ['uuid', 'bbb6709a-03dc-253f-fc43-b857358df299'], ['bootable', '0'], ['dev', 'hdc:cdrom'], ['mode', 'r'], ['backend', '0'], ['bootable', '0'], ['VDI']]], ['device', ['vfb', ['vncunused', '1'], ['vnc', '1'], ['uuid', '64219645-8f96-3c07-24fa-7106d021bc14'], ['location', '127.0.0.1:5900']]], ['device', ['con sole', ['protocol', 'vt100'], ['location', '4'], ['uuid', '38204f3d-dcfb-e291-54ff-adb04127f919']]]]) [2009-11-16 13:08:47 5406] DEBUG (XendDomainInfo:2296) XendDomainInfo.constructDomain [2009-11-16 13:08:47 5406] DEBUG (balloon:166) Balloon: 30016736 KiB free; need 4096; done.
[2009-11-16 13:08:47 5406] DEBUG (XendDomain:452) Adding Domain: 12
[2009-11-16 13:08:47 5406] DEBUG (XendDomainInfo:3052) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '14', 'uuid': 'ce96b99b-a571-a694-7e12-73e664d47419', 'on_reboot' : 'restart', 'start_time': '1258372068.96', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3', 'bootloader': '', 'image': '(hvm (kernel ) (videoram 4) (hpet 0) (stdvga 0) (loader /usr/lib/xen/boot/hvmloader) (vncconsole 0) (serial pty) (vncunused 1) (xen_platf orm_pci 1) (boot dc) (rtc_timeoffset 2) (pci ()) (pae 1) (vpt_align 1) (hap 1) (viridian 0) (acpi 1) (localtime 1) (timer_mode 1) (vnc 1) (nographic 0) (guest_os_type default) (pci_msi translate 1) (apic 1) (sdl 0) (monitor 0) (usbdevice tablet) (device_model /usr/lib64/xen/bin/qemu-dm) (keymap es) (pci_power_mgmt 0) (usb 0) (xauthority /root/.Xauthority) (isa 0) (di
splay localhost:10.0) (notes (SUSPEND_CANCEL 1)))', 'name': 'lisa'}
[2009-11-16 13:08:47 5406] INFO (XendDomainInfo:2160) createDevice: vfb : {'vncunused': '1', 'other_config': {'vncunused': '1', 'vnc': '1'}, 'vnc': '1', 'uuid': '64219645-8f96-3c07-24f
a-7106d021bc14', 'location': '127.0.0.1:5900'}
[2009-11-16 13:08:47 5406] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vfb/12/0'} to /local/domain/12/device/v
fb/0.
[2009-11-16 13:08:47 5406] DEBUG (DevController:97) DevController: writing {'vncunused': '1', 'domain': 'lisa', 'frontend': '/local/domain/12/device/vfb/0', 'uuid': '64219645-8f96-3c07 -24fa-7106d021bc14', 'frontend-id': '12', 'state': '1', 'location': '127.0.0.1:5900', 'online': '1', 'vnc': '1'} to /local/domain/0/backend/vfb/12/0. [2009-11-16 13:08:47 5406] INFO (XendDomainInfo:2160) createDevice: console : {'protocol': 'vt100', 'location': '4', 'uuid': '38204f3d-dcfb-e291-54ff-adb04127f919'} [2009-11-16 13:08:47 5406] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/12/0'} to /local/domain/12/devi
ce/console/0.
[2009-11-16 13:08:47 5406] DEBUG (DevController:97) DevController: writing {'domain': 'lisa', 'frontend': '/local/domain/12/device/console/0', 'uuid': '38204f3d-dcfb-e291-54ff-adb04127 f919', 'frontend-id': '12', 'state': '1', 'location': '4', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/12/0. [2009-11-16 13:08:47 5406] INFO (XendDomainInfo:2160) createDevice: vbd : {'uuid': '80285f49-9ca5-402d-b46e-ac4a4f44e31d', 'bootable': '1', 'driver': 'paravirtualised', 'dev': 'hda:dis
k', 'uname': 'phy:vgvirt/vmlisa', 'mode': 'w', 'backend': '0'}
[2009-11-16 13:08:47 5406] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0
/backend/vbd/12/768'} to /local/domain/12/device/vbd/768.
[2009-11-16 13:08:47 5406] DEBUG (DevController:97) DevController: writing {'domain': 'lisa', 'frontend': '/local/domain/12/device/vbd/768', 'uuid': '80285f49-9ca5-402d-b46e-ac4a4f44e3 1d', 'bootable': '1', 'dev': 'hda', 'state': '1', 'params': 'vgvirt/vmlisa', 'mode': 'w', 'online': '1', 'frontend-id': '12', 'type': 'phy'} to /local/domain/0/backend/vbd/12/768.
om', 'mode': 'r', 'backend': '0'}
/0/backend/vbd/12/5632'} to /local/domain/12/device/vbd/5632.
299', 'bootable': '0', 'dev': 'hdc', 'state': '1', 'params': '', 'mode': 'r', 'online': '1', 'frontend-id': '12', 'type': ''} to /local/domain/0/backend/vbd/12/5632.
ac': '00:06:5B:13:71:A3', 'type': 'netfront', 'backend': '0'}
end/vif/12/0'} to /local/domain/12/device/vif/0.
/domain/0/backend/vif/12/0.
': 'ioemu', 'cpu/1/availability': 'online', 'store/port': '3'}
[2009-11-16 13:08:48 5406] INFO (XendCheckpoint:243) restore hvm domain 12, apic=1, pae=1 [2009-11-16 13:08:48 5406] DEBUG (image:322) No VNC passwd configured for vfb access
[2009-11-16 13:08:48 5406] DEBUG (image:809) args: boot, val: dc
[2009-11-16 13:08:48 5406] DEBUG (image:809) args: fda, val: None
[2009-11-16 13:08:48 5406] DEBUG (image:809) args: fdb, val: None
[2009-11-16 13:08:48 5406] DEBUG (image:809) args: soundhw, val: None
[2009-11-16 13:08:48 5406] DEBUG (image:809) args: localtime, val: 1
[2009-11-16 13:08:48 5406] DEBUG (image:809) args: serial, val: ['pty']
[2009-11-16 13:08:48 5406] DEBUG (image:809) args: std-vga, val: 0
[2009-11-16 13:08:48 5406] DEBUG (image:809) args: isa, val: 0
[2009-11-16 13:08:48 5406] DEBUG (image:809) args: acpi, val: 1
[2009-11-16 13:08:48 5406] DEBUG (image:809) args: usb, val: 0
[2009-11-16 13:08:48 5406] DEBUG (image:809) args: usbdevice, val: tablet
[2009-11-16 13:08:48 5406] INFO (image:745) Need to create platform device.[domid:12] [2009-11-16 13:08:48 5406] DEBUG (XendCheckpoint:261) restore:shadow=0xe, _static_max=0x60000000, _static_min=0x0, [2009-11-16 13:08:48 5406] DEBUG (balloon:166) Balloon: 30015304 KiB free; need 1591296; done. [2009-11-16 13:08:48 5406] DEBUG (XendCheckpoint:278) [xc_restore]: /usr/lib64/xen/bin/xc_restore 52 12 3 4 1 1 1 [2009-11-16 13:08:48 5406] INFO (XendCheckpoint:417) xc_domain_restore start: p2m_size = 100000 [2009-11-16 13:08:48 5406] INFO (XendCheckpoint:417) Reloading memory pages: 0% [2009-11-16 13:09:01 5406] INFO (XendCheckpoint:417) Failed allocation for dom 12: 33 extents of order 0 [2009-11-16 13:09:01 5406] INFO (XendCheckpoint:417) ERROR Internal error: Failed to allocate memory for batch.!
[2009-11-16 13:09:01 5406] INFO (XendCheckpoint:417)
[2009-11-16 13:09:01 5406] INFO (XendCheckpoint:417) Restore exit with rc=1
[2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:2724) XendDomainInfo.destroy: domid=12 [2009-11-16 13:09:01 5406] ERROR (XendDomainInfo:2738) XendDomainInfo.destroy: domain destruction failed.
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2731, in destroy
   xc.domain_pause(self.domid)
Error: (3, 'No such process')
[2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:2204) No device model
[2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:2206) Releasing devices
[2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:2219) Removing vif/0
[2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:2219) Removing vbd/768
[2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:2219) Removing vbd/5632
[2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/5632
[2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:2219) Removing vfb/0
[2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2009-11-16 13:09:02 5406] DEBUG (XendDomainInfo:2219) Removing console/0
[2009-11-16 13:09:02 5406] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2009-11-16 13:09:02 5406] ERROR (XendDomain:1149) Restore failed
Traceback (most recent call last):
File "/usr/lib64/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/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 282, in restore
   forkHelper(cmd, fd, handler.handler, True)
File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 405, in forkHelper
   raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib64/xen/bin/xc_restore 52 12 3 4 1 1 1 failed



--

--------------------------------------------------------------------
 Administrador de Sistemas
 Centro de Cálculo                 e-mail: ntadmin [en] fi.upm.es
 Facultad de Informática
 Universidad Politécnica de Madrid
--------------------------------------------------------------------


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