qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/3] move vm stop/start to migrate_set_state


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 2/3] move vm stop/start to migrate_set_state
Date: Sat, 11 Jul 2009 22:31:04 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Jamie Lokier wrote:
If you get an error during the last write(), I wouldn't trust that to
mean the recipient will definitely not see the data you wrote.  (Enjoy
the double negative).  It's another variation of the handshake
uncertainty, this time reflected in what write() should report when
it's uncertain about a network transmission.  If it reports an error
when it's uncertain, then you can't trust that a write() error means
the data was not written, only that a problem was detected.

I think you're stretching here. If it really were the case that write() could actually result in data being sent out the wire and yet still returning an error, it would make all error handling in Unix unmanagable. I can't believe this is possible in Linux and without an actual counter-example, I'm inclined to believe the same is true for every other OS out there.

Regards,

Anthony Liguori




reply via email to

[Prev in Thread] Current Thread [Next in Thread]