qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ian Molton <ian.molton@collabora.co.uk>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] virtio: Add virtio-rng driver
Date: Sat, 21 Nov 2009 12:44:47 +0000	[thread overview]
Message-ID: <1258807488-6341-1-git-send-email-ian.molton@collabora.co.uk> (raw)

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!

             reply	other threads:[~2009-11-21 12:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-21 12:44 Ian Molton [this message]
2009-11-21 12:44 ` [Qemu-devel] [PATCH] virtio: Add virtio-rng driver Ian Molton
2009-11-26  0:27   ` Ian Molton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1258807488-6341-1-git-send-email-ian.molton@collabora.co.uk \
    --to=ian.molton@collabora.co.uk \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).