From: Amit Shah <amit.shah@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: Amit Shah <amit.shah@redhat.com>, qemu list <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH 0/8] virtio-rng: hardware random number generator device
Date: Fri, 26 Oct 2012 16:31:36 +0530 [thread overview]
Message-ID: <cover.1351248724.git.amit.shah@redhat.com> (raw)
Hello,
Reviving this series last sent by Anthony to the list. The
differences are minimal from the time Anthony sent, just rebasing to
the current tree and fixing a couple of minor bugs.
I've not really looked in detail at the object patches -- mostly just
concerned about the device itself.
Please review and apply if appropriate.
Changes from last submission:
- Fix a few typos/whitespaces in rng.h
- Switch to virtqueue_get_avail_bytes(): helps remove the
savevm/loadvm complexities and provides a cleaner interface
- Remove the older qevent hunks that got left behind
- Rebase to master
- Bugfix: rng_backend_request_entropy() in chr_read() should pass len,
not size
- Do not request for more entropy in chr_read() once the current
request is served; there are other ways this notification will go
out.
Amit Shah (1):
virtio-rng: hardware random number generator device
Anthony Liguori (7):
object: add object_property_add_bool (v2)
qdev: add realized property and make adding child bus implied by
realize
vl: add -object option to create QOM objects from the command line
vl: add -late-object to create QOM objects after machine init
rng: add RndBackend abstract object class
rng-urandom: add an RNG backend that uses /dev/urandom
rng-egd: introduce EGD compliant RNG backend
Makefile.objs | 2 +
backends/Makefile.objs | 1 +
backends/rng-egd.c | 215 ++++++++++++++++++++++++++++++++++++++++++++++++
backends/rng-urandom.c | 144 ++++++++++++++++++++++++++++++++
backends/rng.c | 93 +++++++++++++++++++++
hw/Makefile.objs | 1 +
hw/pci.h | 1 +
hw/qdev.c | 36 ++++++++-
hw/s390-virtio-bus.c | 37 ++++++++
hw/s390-virtio-bus.h | 2 +
hw/virtio-pci.c | 60 +++++++++++++
hw/virtio-pci.h | 2 +
hw/virtio-rng.c | 149 +++++++++++++++++++++++++++++++++
hw/virtio-rng.h | 24 ++++++
hw/virtio.h | 3 +
include/qemu/object.h | 16 ++++
include/qemu/rng.h | 93 +++++++++++++++++++++
qemu-config.c | 20 +++++
qemu-options.hx | 20 +++++
qom/object.c | 56 +++++++++++++
vl.c | 62 ++++++++++++++
21 files changed, 1036 insertions(+), 1 deletions(-)
create mode 100644 backends/Makefile.objs
create mode 100644 backends/rng-egd.c
create mode 100644 backends/rng-urandom.c
create mode 100644 backends/rng.c
create mode 100644 hw/virtio-rng.c
create mode 100644 hw/virtio-rng.h
create mode 100644 include/qemu/rng.h
--
1.7.7.6
next reply other threads:[~2012-10-26 11:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-26 11:01 Amit Shah [this message]
2012-10-26 11:01 ` [Qemu-devel] [PATCH 1/8] object: add object_property_add_bool (v2) Amit Shah
2012-10-26 11:01 ` [Qemu-devel] [PATCH 2/8] qdev: add realized property and make adding child bus implied by realize Amit Shah
2012-10-26 11:01 ` [Qemu-devel] [PATCH 3/8] vl: add -object option to create QOM objects from the command line Amit Shah
2012-10-26 11:01 ` [Qemu-devel] [PATCH 4/8] vl: add -late-object to create QOM objects after machine init Amit Shah
2012-10-26 11:01 ` [Qemu-devel] [PATCH 5/8] rng: add RndBackend abstract object class Amit Shah
2012-10-26 11:01 ` [Qemu-devel] [PATCH 6/8] rng-urandom: add an RNG backend that uses /dev/urandom Amit Shah
2012-10-26 11:01 ` [Qemu-devel] [PATCH 7/8] rng-egd: introduce EGD compliant RNG backend Amit Shah
2012-10-26 11:01 ` [Qemu-devel] [PATCH 8/8] virtio-rng: hardware random number generator device Amit Shah
2012-10-26 14:13 ` [Qemu-devel] [PATCH 0/8] " Paolo Bonzini
2012-10-26 15:14 ` Anthony Liguori
2012-10-26 15:28 ` Paolo Bonzini
2012-10-26 17:29 ` Anthony Liguori
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=cover.1351248724.git.amit.shah@redhat.com \
--to=amit.shah@redhat.com \
--cc=anthony@codemonkey.ws \
--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).