[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] help for snapshot



I'm modifying the source code of snapshot,in the function xc_domain_save() of xc_domain_save.c,through calling wrexact() to copy the memory pages to the local dist.

I'm not sure if it is the answer you wang.Â

2015-10-13 13:49 GMT+08:00 Gohar Irfan <goharirfan94@xxxxxxxxx>:
I'm also working on a similar thing - can you please tell me how you copy the memory pages from one part of the memory to another?

On Tue, Oct 13, 2015 at 10:04 AM éå <mrgao.buffoon@xxxxxxxxx> wrote:
Hi,alls

I'm modifying the source code of xen-4.4.1. Specifically, I'm modifying the memory copy part of snapshot. I first put all memory pages to write protection, and then rewrite the write protection exception part of the code. After capture the exception then save the memory page , and all memory page copy is complete, call the function xenaccess_teardown(xch, xenaccess), but there is a mistake:

libxl: error: libxl_utils.c:396:libxl_read_exactly: file/stream truncated reading ipc msg header from domain 3 save/restore helper stdout pipe
libxl: error: libxl_exec.c:129:libxl_report_child_exitstatus: domain 3 save/restore helper [-1] died due to fatal signal Segmentation fault (core dumped)
Failed to save domain, resuming domain

Has anyone ever meet this kind of problem, and who can tell me the cause of the error.

Thanks
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.