qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] scp during migration with vhost fails
@ 2013-02-01 10:03 Jason Wang
  2013-02-03  9:22 ` Michael S. Tsirkin
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Wang @ 2013-02-01 10:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: mst

Hello all:

During testing, I find doing scp during migration with vhost fails with 
warnings in guest like:

Corrupted MAC on input.
Disconnecting: Packet corrupt.
lost connection

Here's the bisect result:

Commit a01672d3968cf91208666d371784110bfde9d4f8 kvm: convert to MemoryListener 
API is the last commit that works well.

With commit 04097f7c5957273c578f72b9bd603ba6b1d69e33 vhost: convert to 
MemoryListener API, guest network is unusable with warning of "bad gso type"

With commit d743c382861eaa1e13f503b05aba5a382a7e7f7c vhost: fix incorrect 
userspace address, guest network is available, but scp during migration may 
fail.

Looks like the issue is related to memory api, any thoughts?

Thanks

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

* Re: [Qemu-devel] scp during migration with vhost fails
  2013-02-01 10:03 [Qemu-devel] scp during migration with vhost fails Jason Wang
@ 2013-02-03  9:22 ` Michael S. Tsirkin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael S. Tsirkin @ 2013-02-03  9:22 UTC (permalink / raw)
  To: Jason Wang; +Cc: qemu-devel

On Fri, Feb 01, 2013 at 06:03:32PM +0800, Jason Wang wrote:
> Hello all:
> 
> During testing, I find doing scp during migration with vhost fails with 
> warnings in guest like:
> 
> Corrupted MAC on input.
> Disconnecting: Packet corrupt.
> lost connection
> 
> Here's the bisect result:
> 
> Commit a01672d3968cf91208666d371784110bfde9d4f8 kvm: convert to MemoryListener 
> API is the last commit that works well.
> 
> With commit 04097f7c5957273c578f72b9bd603ba6b1d69e33 vhost: convert to 
> MemoryListener API, guest network is unusable with warning of "bad gso type"
> 
> With commit d743c382861eaa1e13f503b05aba5a382a7e7f7c vhost: fix incorrect 
> userspace address, guest network is available, but scp during migration may 
> fail.
> 
> Looks like the issue is related to memory api, any thoughts?
> 
> Thanks

Hmm this is worrying.
The problem doesn't seem to reproduce for me.  One explanation would be
that the memory table is setup incorrectly, if this happens it's very
worrying.
I think a good way to debug would be by dumping the vhost tables before
and after the change, verify that they are identical.

-- 
MST

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

end of thread, other threads:[~2013-02-03  9:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-01 10:03 [Qemu-devel] scp during migration with vhost fails Jason Wang
2013-02-03  9:22 ` Michael S. Tsirkin

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).