* live migration from legacy to staging fails
@ 2016-04-07 15:40 Olaf Hering
2016-04-07 19:21 ` Andrew Cooper
0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2016-04-07 15:40 UTC (permalink / raw)
To: xen-devel
convert-legacy-stream.py fails to receive a HVM domU coming from xen-4.5.
It runs into legacy.CHUNK_enable_verify_mode "Unable to convert a debug
stream", but only if the '--debug' knob was passed to 'xl migrate'.
The comment there is clearly wrong.
How is this supposed to be handled? I think --debug is supposed to
enable just all the DPRINTKs, nothing else.
Olaf
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: live migration from legacy to staging fails
2016-04-07 15:40 live migration from legacy to staging fails Olaf Hering
@ 2016-04-07 19:21 ` Andrew Cooper
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cooper @ 2016-04-07 19:21 UTC (permalink / raw)
To: Olaf Hering, xen-devel
On 07/04/16 16:40, Olaf Hering wrote:
> convert-legacy-stream.py fails to receive a HVM domU coming from xen-4.5.
> It runs into legacy.CHUNK_enable_verify_mode "Unable to convert a debug
> stream", but only if the '--debug' knob was passed to 'xl migrate'.
> The comment there is clearly wrong.
>
> How is this supposed to be handled? I think --debug is supposed to
> enable just all the DPRINTKs, nothing else.
Sorry - I have been having email problems today. I see have already
found and addressed the issue.
To answer this question, --debug does more than just increase the
verbosity. Once the live phase is complete, it sends the verify_mode
marker, then resends the entire memory contents. (Once the legacy
sending side was complete, it reliably fell over a SIGSEGV for me, and
ended up terminating the migration due to an early eof on the fd.)
The receiving side, on receipt of verify_mode, switches from memcpy() to
memcmp() to verify that the memory it received during the live phase
matches up.
The problematic issue is that any domain with PV rings will expect to
see memory corruption according to verify mode, and this is expected
behaviour due to {net,blk}backends continuing to process requests after
the domain has paused.
~Andrew
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-07 19:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-07 15:40 live migration from legacy to staging fails Olaf Hering
2016-04-07 19:21 ` Andrew Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).