qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] migration: adding migration to/from a file (v2)


From: M. Warner Losh
Subject: Re: [Qemu-devel] migration: adding migration to/from a file (v2)
Date: Thu, 19 Feb 2009 16:36:01 -0700 (MST)

In message: <address@hidden>
            Jamie Lokier <address@hidden> writes:
: Anthony Liguori wrote:
: > >Sure looks like a bug.
: > I wish!  It's Unix suckiness.
: 
: Windows is the same.
: It's a more of a conceptual problem than it looks, not merely an API bug.
: 
: It comes down to "what would 'readable' and 'writable' mean on a file?".

"Would a read or write operation block?" is a better way to look at
the interface that select() or poll() provides.  For a regular file,
the answer is "no" since the writes are so fast and often
asynchronous...

Warner




reply via email to

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