Anthony Liguori wrote:
Uri Lublin wrote:
Anthony Liguori wrote:

I have already cut your text, but I don't understand the comment about not being "full duplex". Is there a reason why migration needs to be bidirectional? I don't think there's a fundamental reason it needs to be and I think there are some advantages to it being unidirectional.


Avi was concerned that my patch makes QEMUFile uni-directional, so I assumed you are trying to "fix" that too. Unidirectional-only usage of QEMUFile was working. The problem was that the fd implementation registered both get_buffer and put_buffer. If you never register both non-NULL get_buffer and put_buffer (unidirectional), then you do not need the is_write field.

Adding the error checking is valuable.

Thanks,
Uri.
--
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

Reply via email to