From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShEtD-00036r-DL for qemu-devel@nongnu.org; Wed, 20 Jun 2012 02:59:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ShEtB-0003eI-7k for qemu-devel@nongnu.org; Wed, 20 Jun 2012 02:59:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShEtA-0003e4-WD for qemu-devel@nongnu.org; Wed, 20 Jun 2012 02:59:41 -0400 From: Amit Shah Date: Wed, 20 Jun 2012 12:29:31 +0530 Message-Id: Subject: [Qemu-devel] [PATCH v3 0/1] virtio-rng: hardware random number generator List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu list Cc: Amit Shah , Anthony Liguori Hello, Here's the 3rd iteration of the virtio-rng device. This update just rebases the patch on top of current master. Details on the patch in the commit message. Please apply, Amit v3: * rebase to master * Add file to hw/Makefile.objs instead of Makefile.objs * Rate-limit event to at most 1 per second * Update to slightly different way to define new QEVENTS v2: * Remove hard-wiring to /dev/urandom * Use chardev for input * Add a QMP event for notifying listeners about entropy needed and the bytes asked for by the guest. * Add s390 code Amit Shah (1): virtio-rng: hardware random number generator device hw/Makefile.objs | 1 + hw/pci.h | 1 + hw/s390-virtio-bus.c | 35 +++++++++ hw/s390-virtio-bus.h | 2 + hw/virtio-pci.c | 51 +++++++++++++ hw/virtio-pci.h | 2 + hw/virtio-rng.c | 200 ++++++++++++++++++++++++++++++++++++++++++++++++++ hw/virtio-rng.h | 24 ++++++ hw/virtio.h | 3 + monitor.c | 4 +- monitor.h | 1 + 11 files changed, 323 insertions(+), 1 deletions(-) create mode 100644 hw/virtio-rng.c create mode 100644 hw/virtio-rng.h -- 1.7.7.6