Received: from [140.186.70.92] (port=55071 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAV0O-0008Fq-Mn for qemu-devel@nongnu.org; Mon, 25 Oct 2010 17:55:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PAV0N-0006Xq-3d for qemu-devel@nongnu.org; Mon, 25 Oct 2010 17:55:00 -0400 Received: from fe02x03-cgp.akado.ru ([77.232.31.165]:64578 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PAV0M-0006XY-OP for qemu-devel@nongnu.org; Mon, 25 Oct 2010 17:54:59 -0400 Date: Tue, 26 Oct 2010 01:54:38 +0400 (MSD) From: malc Subject: Re: [Qemu-devel] [RFC][PATCH 01/10] virtagent: add common rpc transport defs In-Reply-To: <4CC5F919.4000102@codemonkey.ws> Message-ID: References: <1287773165-24855-1-git-send-email-mdroth@linux.vnet.ibm.com> <1287773165-24855-2-git-send-email-mdroth@linux.vnet.ibm.com> <4CC5F919.4000102@codemonkey.ws> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: abeekhof@redhat.com, ryanh@us.ibm.com, agl@linux.vnet.ibm.com, Michael Roth , qemu-devel@nongnu.org On Mon, 25 Oct 2010, Anthony Liguori wrote: > On 10/22/2010 01:45 PM, Michael Roth wrote: > > Common code for sending/recieving RPCs via http over virtproxy channel. > > Eventually these will all be switched to asynchronous handlers to avoid > > deadlocks between qemu and the guest. For now we can usually get away with > > just doing asynchronous reads for http/RPC responses if we don't send > > large RPC requests to the guest (since these will likely get buffered > > rather than block or cause spinning on writes). [..snip..] > > expressions need spaces. IOW, i=0; i > Avoid C++ isms like ++i. Why? [..snip..] -- mailto:av1474@comtv.ru