From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBpLk-0000SF-L6 for qemu-devel@nongnu.org; Sat, 21 Nov 2009 07:46:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBpLj-0000S3-32 for qemu-devel@nongnu.org; Sat, 21 Nov 2009 07:45:59 -0500 Received: from [199.232.76.173] (port=60125 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBpLi-0000S0-UX for qemu-devel@nongnu.org; Sat, 21 Nov 2009 07:45:58 -0500 Received: from bhuna.collabora.co.uk ([93.93.128.226]:46474) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NBpLi-0006wk-HS for qemu-devel@nongnu.org; Sat, 21 Nov 2009 07:45:58 -0500 Received: from localhost.localdomain (94-192-117-31.zone6.bethere.co.uk [94.192.117.31]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 0CC33601275 for ; Sat, 21 Nov 2009 12:45:55 +0000 (GMT) From: Ian Molton Date: Sat, 21 Nov 2009 12:44:47 +0000 Message-Id: <1258807488-6341-1-git-send-email-ian.molton@collabora.co.uk> Subject: [Qemu-devel] [PATCH] virtio: Add virtio-rng driver List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi folks, This patch is a first cut at a driver for virtio-rng. Its not problem free, but it works. Features: * Raw and EGD protocol support * Rate limiting (simple) Known problems: * provokes a bug in the kernels virtio-rng driver that results in data corruption. * Does not reconnect to the host when using a socket to get data (qemu limitation?) Todo: * Add burst rate limiting * Reconnection support With a patch to the guest kernel to fix the virtio-rng driver, I see no FIPS-140-2 test failures. Please review!