From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZMyZ-0002c4-GW for qemu-devel@nongnu.org; Wed, 01 Oct 2014 12:42:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZMyR-0002QN-Tb for qemu-devel@nongnu.org; Wed, 01 Oct 2014 12:42:03 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:51391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZMyR-0002QA-OE for qemu-devel@nongnu.org; Wed, 01 Oct 2014 12:41:55 -0400 Message-ID: <542C2ECF.5040400@codeaurora.org> Date: Wed, 01 Oct 2014 12:41:51 -0400 From: Christopher Covington MIME-Version: 1.0 References: <542C06BA.50705@xsilon.com> In-Reply-To: <542C06BA.50705@xsilon.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Request for help List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Martin Townsend Cc: qemu-devel@nongnu.org Hi Martin, On 10/01/2014 09:50 AM, Martin Townsend wrote: > Hi, > > I'm looking into creating a virtualised test bed for an 802.15.4 network. > Currently I have QEMU running and emulating our HW which bridges the > Ethernet from the guest to the host. What I would like to do is something > similar with the 802.15.4 network interface. The host doesn't have a > physical 802.15.4 interface but if I could get the data out of the guest > and into QEMU I could communicate with a central network simulator to deal > with the packets. > > My first thought was to write a virtual device for QEMU that would > interface with our 802.15.4 driver in the guest but then I realise that the > real device hangs of an AMBA bus What exactly is your objection to this? Aren't there plenty of "AMBA bus" peripherals that you can reference attached to the Versatile Express for example? > so my next idea was to write a PCI driver for 802.15.4 on the guest making > it possible to write a PCI virtual QEMU device. > > I just wanted to confirm that this is possible and whether there is a > better solution? Christopher -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation.