http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1125
------- Comment #1 from yongkang.you@xxxxxxxxx 2007-12-20 04:46 -------
I redo the testing for save/restore. Found following xend error log:
[2007-12-20 20:34:58 7611] INFO (XendCheckpoint:365) Total pages sent= 983008
(0.94x)
[2007-12-20 20:34:58 7611] INFO (XendCheckpoint:365) (of which 0 were fixups)
[2007-12-20 20:34:58 7611] INFO (XendCheckpoint:365) All memory is saved
[2007-12-20 20:34:58 7611] INFO (XendCheckpoint:365) Save exit rc=0
[2007-12-20 20:34:58 7611] DEBUG (XendDomainInfo:1897)
XendDomainInfo.destroyDomain(3)
[2007-12-20 20:34:59 7611] DEBUG (XendDomainInfo:1519) Destroying device model
[2007-12-20 20:34:59 7611] DEBUG (XendDomainInfo:1526) Releasing devices
[2007-12-20 20:34:59 7611] DEBUG (XendDomainInfo:1531) Removing vif/0
[2007-12-20 20:34:59 7611] DEBUG (XendDomainInfo:585)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2007-12-20 20:34:59 7611] DEBUG (XendDomainInfo:1531) Removing vbd/768
[2007-12-20 20:34:59 7611] DEBUG (XendDomainInfo:585)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2007-12-20 20:34:59 7611] DEBUG (XendDomainInfo:1531) Removing vbd/5632
[2007-12-20 20:34:59 7611] DEBUG (XendDomainInfo:585)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/5632
[2007-12-20 20:34:59 7611] DEBUG (XendDomainInfo:1531) Removing console/0
[2007-12-20 20:34:59 7611] DEBUG (XendDomainInfo:585)
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2007-12-20 20:34:59 7611] DEBUG (XendDomainInfo:1524) No device model
[2007-12-20 20:34:59 7611] DEBUG (XendDomainInfo:1526) Releasing devices
[2007-12-20 20:35:30 7611] DEBUG (XendDomainInfo:217)
XendDomainInfo.restore(['domain', ['domid', '3'], ['on_crash', 'restart'],
['uuid', '64d1fb51-2b9c-bc2e-f5fd-5b9b9741cfb3'], ['bootloader_args'],
['vcpus', '1'], ['name', 'ExampleHVMDomain'], ['on_poweroff', 'destroy'],
['on_reboot', 'restart'], ['bootloader'], ['maxmem', '512'], ['memory', '512'],
['shadow_memory', '5'], ['vcpu_avail', '1'], ['features'], ['on_xend_start',
'ignore'], ['on_xend_stop', 'ignore'], ['start_time', '1198154066.66'],
['cpu_time', '2.979515887'], ['online_vcpus', '1'], ['image', ['hvm',
['kernel', '/usr/lib/xen/boot/hvmloader'], ['acpi', '1'], ['apic', '1'],
['boot', 'c'], ['device_model', '/usr/lib/xen/bin/qemu-dm'], ['display',
'localhost:1.0'], ['isa', '0'], ['localtime', '0'], ['monitor', '0'],
['nographic', '0'], ['pae', '1'], ['rtc_timeoffset', '0'], ['serial', 'pty'],
['sdl', '1'], ['stdvga', '0'], ['usb', '0'], ['vnc', '0'], ['timer_mode', '0'],
['vncunused', '1'], ['xauthority', '/root/.Xauthority'], ['pci', []],
['guest_os_type', 'default'], ['notes', ['SUSPEND_CANCEL', '1']]]], ['status',
'2'], ['state', '-b----'], ['store_mfn', '131070'], ['device', ['vif',
['bridge', 'xenbr0'], ['uuid', 'fcaad15c-8491-1788-7164-ec0b7d164bcd'],
['script', 'vif-bridge'], ['mac', '00:16:3e:60:13:5b'], ['type', 'ioemu'],
['backend', '0']]], ['device', ['vbd', ['uname', 'file:/share/xvs/var/fq'],
['uuid', '2c2e45d7-378c-5ff3-7182-75980c1b4587'], ['mode', 'w'], ['dev',
'hda:disk'], ['backend', '0'], ['bootable', '1']]], ['device', ['vbd', ['uuid',
'f9d74eed-f496-9ed5-cbc1-f5465d643272'], ['mode', 'r'], ['dev', 'hdc:cdrom'],
['backend', '0'], ['bootable', '0']]], ['device', ['console', ['protocol',
'vt100'], ['location', '3'], ['uuid',
'8889d661-1bd5-a5e5-7a23-119066e1dc95']]]])
[2007-12-20 20:35:30 7611] ERROR (XendDomain:1142) Restore failed
Traceback (most recent call last):
File "/usr/lib/python/xen/xend/XendDomain.py", line 1134, in
domain_restore_fd
return XendCheckpoint.restore(self, fd, paused=paused)
File "/usr/lib/python/xen/xend/XendCheckpoint.py", line 177, in restore
dominfo = xd.restore_(vmconfig)
File "/usr/lib/python/xen/xend/XendDomain.py", line 498, in restore_
dominfo = XendDomainInfo.restore(config)
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 218, in restore
vm = XendDomainInfo(XendConfig.XendConfig(sxp_obj = config),
File "/usr/lib/python/xen/xend/XendConfig.py", line 276, in __init__
self._sxp_to_xapi(sxp_obj)
File "/usr/lib/python/xen/xend/XendConfig.py", line 656, in _sxp_to_xapi
cfg = self._parse_sxp(sxp_cfg)
File "/usr/lib/python/xen/xend/XendConfig.py", line 542, in _parse_sxp
self.device_add(dev_type, cfg_sxp = config, target = cfg)
File "/usr/lib/python/xen/xend/XendConfig.py", line 1121, in device_add
self.device_duplicate_check(dev_type, dev_info, target)
File "/usr/lib/python/xen/xend/XendConfig.py", line 993, in
device_duplicate_check
blkdev_file = blkdev_uname_to_file(dev_uname)
File "/usr/lib/python/xen/util/blkif.py", line 81, in blkdev_uname_to_file
return _parse_uname(uname)[0]
File "/usr/lib/python/xen/util/blkif.py", line 71, in _parse_unam
--
Configure bugmail:
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs
|