[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 10/47] Return path: Open a return path on QEM
From: |
David Gibson |
Subject: |
Re: [Qemu-devel] [PATCH v4 10/47] Return path: Open a return path on QEMUFile for sockets |
Date: |
Mon, 3 Nov 2014 14:05:50 +1100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Oct 03, 2014 at 06:47:16PM +0100, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <address@hidden>
>
> 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.
This doesn't seem like the right abstraction to me. In particular I
can't really see how you'd implement this for anything other than
socket.
I'd suggest instead creating new "open" helper functions (within the
QEMUFile code) that open both a forward and return path
simultaneously.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
pgphaVw_mBoLX.pgp
Description: PGP signature
- Re: [Qemu-devel] [PATCH v4 10/47] Return path: Open a return path on QEMUFile for sockets,
David Gibson <=