Anthony Liguori wrote:
Yeah, I tried to implement the read/write mode buffer and it ends up not to work very nicely. I don't remember the precise issue, but I hit some sort of wall that I thought was a fundamental limitation. I ended up forcing the QEMUFile to be in either read or write mode similar to your original patch without introducing a new option as an argument.
It really depends on whether the file descriptor is a file or a socket. With files, the read and write streams are backed by the same storage, so they can intersect. With sockets, the read and write streams are completely independent.
Everything is a file, except when it isn't. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
