qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] IPv6 support for TCP migrations
@ 2011-05-04  8:39 nick
  2011-05-04  8:39 ` [Qemu-devel] [PATCH] migration-tcp: Allow incoming and outgoing migrations over IPv6 nick
  2011-05-04 10:13 ` [Qemu-devel] IPv6 support for TCP migrations Daniel P. Berrange
  0 siblings, 2 replies; 4+ messages in thread
From: nick @ 2011-05-04  8:39 UTC (permalink / raw)
  To: qemu-devel; +Cc: nick

Hi,

Currently migration-tcp.c uses the IPv4-only socket functions, making
migrations over IPv6 impossible. Following is a tentative patch that switches
it to use inet_connect() and inet_listen(). 

However, the patch loses the non-blocking connect() behaviour seen with the
previous code. I'm not sure how much of an issue this is - if connect() blocks
here, does it block execution of the VM? 

If so, I guess we need a non-blocking form of inet_connect(), or some way of
replicating the behaviour - it would potentially be needed for my NBD
reconnection patches too? I can see that a blocking connect() might not be an
issue while the KVM process is starting up, but could cause problems if we
try to reconnect while emulation is ongoing.

Thoughts?

/Nick

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

end of thread, other threads:[~2011-05-04 10:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04  8:39 [Qemu-devel] IPv6 support for TCP migrations nick
2011-05-04  8:39 ` [Qemu-devel] [PATCH] migration-tcp: Allow incoming and outgoing migrations over IPv6 nick
2011-05-04 10:13 ` [Qemu-devel] IPv6 support for TCP migrations Daniel P. Berrange
2011-05-04 10:50   ` Nicholas Thomas

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