On (Tue) 14 Apr 2015 [18:03:37], Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" <dgilb...@redhat.com> > > Postcopy needs a method to send messages from the destination back to > the source, this is the 'return path'. > > Wire it up for 'socket' QEMUFile's using a dup'd fd.
I'm not too sure we should create a new fd; just use the same one since sockets are supposed to be used that way. I suspect, though, that using an entirely new connection could simplify a few things (like the next patch). In a private chat, Dave mentioned he'd give this some thought (and give it a go) -- hope we don't end up needing to do things the dup way. Amit