From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8M7x-0003H2-Em for qemu-devel@nongnu.org; Wed, 11 Nov 2009 17:57:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8M7t-0003EW-SS for qemu-devel@nongnu.org; Wed, 11 Nov 2009 17:57:25 -0500 Received: from [199.232.76.173] (port=50739 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8M7t-0003EJ-NO for qemu-devel@nongnu.org; Wed, 11 Nov 2009 17:57:21 -0500 Received: from mx20.gnu.org ([199.232.41.8]:55892) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N8M7t-0003ZX-9n for qemu-devel@nongnu.org; Wed, 11 Nov 2009 17:57:21 -0500 Received: from mail.codesourcery.com ([38.113.113.100]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8M7o-0003IR-RQ for qemu-devel@nongnu.org; Wed, 11 Nov 2009 17:57:17 -0500 From: Paul Brook Subject: Re: [Qemu-devel] virtio-rng Date: Wed, 11 Nov 2009 22:57:12 +0000 References: <4AFB2D4D.8050208@collabora.co.uk> In-Reply-To: <4AFB2D4D.8050208@collabora.co.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200911112257.12367.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Ian Molton > I'm writing a virtio-rng host-side driver for qemu-kvm, and I've got > something up and running that works, and will pass data gathered from a > char device on the host through to the virtio-rng driver on a guest copy > of linux. Why do you need a special device? Isn't a regular serial data stream (i.e. multiport virtio-console) sufficient? You can then connect that to your source of random data (e.g. /dev/random) without requiring any changes to qemu. Paul