I used ‘xl save’ create checkpoint on xen4.5, and ‘xl restore’ worked well, now I restore the same checkpoint on xen4.8 failed.
# xl restore test.cfg test.checkpoint
Loading new save file test.checkpoint (new xl fmt info 0x1/0x0/1821)
Savefile contains xl domain config in JSON format
Parsing config from test.cfg
xc: info: Found x86 HVM domain, converted from legacy stream format
xc: info: Restoring domain
xc: info: Restore successful
xc: info: XenStore: mfn 0xfeffc, dom 0, evt 1
xc: info: Console: mfn 0xfefff, dom 0, evt 2
libxl: error: libxl_dm.c:2189:device_model_spawn_outcome: domain 17 device model: spawn failed (rc=-3)
libxl: error: libxl_create.c:1504:domcreate_devmodel_started: device model did not start: -3
libxl: error: libxl_dm.c:2303:kill_device_model: Device Model already exited
libxl: error: libxl.c:1575:libxl__destroy_domid: non-existant domain 17
libxl: error: libxl.c:1534:domain_destroy_callback: unable to destroy guest with domid 17
libxl: error: libxl.c:1463:domain_destroy_cb: destruction of domain 17 failed
And convert-legacy-stream failed too.
# usr/local/lib/xen/bin/convert-legacy-stream -i test.checkpoint -o test.checkpoint.new -w 64 -g hvm
P2M Size: 0x65766173206e6558
Stream Error:
Traceback (most recent call last):
File "/usr/local/lib/xen/bin/convert-legacy-stream", line 592, in read_legacy_stream
read_chunks(vm)
File "/usr/local/lib/xen/bin/convert-legacy-stream", line 376, in read_chunks
% (marker, legacy.MAX_BATCH))
StreamError: Page batch (1868832868) exceeded MAX_BATCH (1024)
Anyone can help?
Does I have to recreate checkpoint on xen4.8 ?
thanks.