From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pekka Enberg Subject: Re: [PATCH 1/3] kvm tools: Make virtio-net kvm__irq_line thread safe Date: Sat, 30 Apr 2011 10:44:34 +0300 Message-ID: <1304149474.12132.40.camel@jaguar> References: <1304058985-13833-1-git-send-email-asias.hejun@gmail.com> <20110429073006.GB16371@elte.hu> <4DBA6CFE.5090400@gmail.com> <20110429103210.GB24217@elte.hu> <20110429195900.GB17166@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: Asias He , Cyrill Gorcunov , Sasha Levin , Prasad Joshi , kvm@vger.kernel.org To: Ingo Molnar Return-path: Received: from filtteri2.pp.htv.fi ([213.243.153.185]:35899 "EHLO filtteri2.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750755Ab1D3Hog (ORCPT ); Sat, 30 Apr 2011 03:44:36 -0400 In-Reply-To: <20110429195900.GB17166@elte.hu> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, 2011-04-29 at 21:59 +0200, Ingo Molnar wrote: > Also, do perhaps TX activity assume a wakeup for RX processing? Right now the > TX and RX threads are independent. So it would be nice to document how the > virtio protocol works. So in http://ozlabs.org/~rusty/virtio-spec/virtio-spec.pdf check out Section 2.4.1 Supplying Buffers to The Device and Section 2.4.2 Receiving Used Buffers From The Device Pekka