From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQnXd-0007VR-DH for qemu-devel@nongnu.org; Sat, 24 Jan 2009 13:47:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQnXb-0007VC-19 for qemu-devel@nongnu.org; Sat, 24 Jan 2009 13:47:36 -0500 Received: from [199.232.76.173] (port=47206 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQnXa-0007V9-S5 for qemu-devel@nongnu.org; Sat, 24 Jan 2009 13:47:34 -0500 Received: from rn-out-0910.google.com ([64.233.170.184]:38870) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LQnXa-0005KV-JK for qemu-devel@nongnu.org; Sat, 24 Jan 2009 13:47:34 -0500 Received: by rn-out-0910.google.com with SMTP id j36so1432456rne.8 for ; Sat, 24 Jan 2009 10:47:34 -0800 (PST) Message-ID: <497B6234.3030302@codemonkey.ws> Date: Sat, 24 Jan 2009 12:47:16 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <4979D80D.307@us.ibm.com> <20090124171928.GA30108@redhat.com> <497B5546.5060000@codemonkey.ws> <20090124183912.GA7900@redhat.com> In-Reply-To: <20090124183912.GA7900@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: A new direction for vmchannel? Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: Eric Van Hensbergen , Chris Wright , kvm-devel , Eric Van Hensbergen , Dor Laor , "qemu-devel@nongnu.org" , Avi Kivity Gleb Natapov wrote: > On Sat, Jan 24, 2009 at 11:52:06AM -0600, Anthony Liguori wrote: > >>> For use cases where you are exposing metadata from the host to the guest >>> this would be a very convenient approach indeed. As asked elsewhere in this >>> thread, my main thought would be about how well it suits a application that >>> wants a generic stream based connection between host & guest ? >>> Efficient integration into a poll(2) based event loop would be key to >>> that. >>> >> You mean for a very large number of files (determining which property >> has changed?). >> >> > I think what Daniel means is that for file to have stream semantic it is > not enough to ignore offset on read/write, but poll also should behave > similar to how it behaves with char device fd. With regular files poll > will always report that fd is ready for I/O. > I'm not really sure, but given the 9P protocol, I suspect it would have to. Eric? Regards, Anthony Liguori > -- > Gleb. >