From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaN8g-00029Q-JC for qemu-devel@nongnu.org; Mon, 19 Nov 2012 03:55:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaN8d-0007LQ-GZ for qemu-devel@nongnu.org; Mon, 19 Nov 2012 03:55:34 -0500 Received: from mail-bk0-f45.google.com ([209.85.214.45]:64194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaN8d-0007LJ-8V for qemu-devel@nongnu.org; Mon, 19 Nov 2012 03:55:31 -0500 Received: by mail-bk0-f45.google.com with SMTP id jk13so791371bkc.4 for ; Mon, 19 Nov 2012 00:55:30 -0800 (PST) Date: Mon, 19 Nov 2012 09:55:28 +0100 From: Stefan Hajnoczi Message-ID: <20121119085528.GD17444@stefanha-thinkpad.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] TCP based PCIE request forwarding List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: lementec fabien Cc: Cam Macdonell , Nick Gasson , qemu-devel , fred.konrad@greensocs.com On Fri, Nov 16, 2012 at 02:05:29PM +0100, lementec fabien wrote: > Actually, I wanted to be independant of the QEMU event loop. Plus, > some proprietary simulation environment provides a closed socket > based interface to 'stimulate' the emulated device, at the PCIE level > for instance. These environments are sometimes installed on cluster > not running QEMU. The socket based approach fits quite well. > > Not knowing about QEMU internals, I spent some hours trying to find > out the best way to plug into QEMU, and did not find ivhsmem appropriate. > Honestly, I wanted to have a working solution asap, and it did not take > long before I opted for the socket based approach. Now that it is working, > I can take time to reconsider stuffs according to others need, and ideally > an integration to QEMU. I suggest writing up a spec for the socket protocol. It can be put in docs/specs/ (like the ivshmem spec). This is both a good way to increase discussion and important for others who may wish to make use of this feature. Stefan