All of lore.kernel.org
 help / color / mirror / Atom feed
* help for snapshot
@ 2015-10-13  1:18 高强
  2015-10-13  5:49 ` Gohar Irfan
  2015-10-13  9:09 ` Ian Campbell
  0 siblings, 2 replies; 10+ messages in thread
From: 高强 @ 2015-10-13  1:18 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 837 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 954 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* help for snapshot
@ 2015-10-13  6:33 高强
  0 siblings, 0 replies; 10+ messages in thread
From: 高强 @ 2015-10-13  6:33 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 275 bytes --]

Hi,alls.

in xen-4.4.1/tools/libxc/xc_domain_save.c,the function
xc_domain_save(),there are two function xc_report_progress_start()
and xc_report_progress_step().And so as xc_domain_restore().

I don't know the function of these two functions,has anyone can tell me?

thanks

[-- Attachment #1.2: Type: text/html, Size: 375 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* help for snapshot
@ 2015-10-20  9:19 高强
  0 siblings, 0 replies; 10+ messages in thread
From: 高强 @ 2015-10-20  9:19 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 297 bytes --]

Hi,alls

I know the snapshot of xen-4.4.1 is through the function xc_domain_save()
to achieve.But I want to know from executing the command "xl save" to
executing the function xc_domain_save(),how it is call.

Has anybody can tell me the call relationship from python to C about
snapshot?

Thanks

[-- Attachment #1.2: Type: text/html, Size: 401 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* help for snapshot
@ 2015-10-21  3:06 高强
  2015-10-21  9:00 ` Wei Liu
  2015-10-21  9:07 ` Ian Campbell
  0 siblings, 2 replies; 10+ messages in thread
From: 高强 @ 2015-10-21  3:06 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 273 bytes --]

Hi,alls

I 'm modifying the source code of snapshot in xen-4.4.1. I know the memory
copy and cpu state copy are all in xc_domain_save.c--xc_domain_save().

But I don't sure where is the device state copy. Who can tell me the
position of device copy in source code.

Thanks

[-- Attachment #1.2: Type: text/html, Size: 377 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-10-21  9:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-13  1:18 help for snapshot 高强
2015-10-13  5:49 ` Gohar Irfan
2015-10-13  6:26   ` 高强
2015-10-13  9:09 ` Ian Campbell
  -- strict thread matches above, loose matches on Subject: below --
2015-10-13  6:33 高强
2015-10-20  9:19 高强
2015-10-21  3:06 高强
2015-10-21  9:00 ` Wei Liu
2015-10-21  9:07 ` Ian Campbell
2015-10-21  9:18   ` Dario Faggioli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.