From 16c915ba42b45df7a64a6908287f03bfa3764bed Mon Sep 17 00:00:00 2001 From: Amit Shah Date: Wed, 20 Jun 2012 12:29:32 +0530 Subject: virtio-rng: hardware random number generator device The Linux kernel already has a virtio-rng driver, this is the device implementation. When the guest asks for entropy from the virtio hwrng, it puts a buffer in the vq. We then put entropy into that buffer, and push it back to the guest. Signed-off-by: Amit Shah Signed-off-by: Anthony Liguori --- aliguori: converted to new RngBackend interface aliguori: remove entropy needed event aliguori: fix migration --- hw/Makefile.objs | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/Makefile.objs') diff --git a/hw/Makefile.objs b/hw/Makefile.objs index af4ab0c..ea46f81 100644 --- a/hw/Makefile.objs +++ b/hw/Makefile.objs @@ -1,6 +1,7 @@ common-obj-y = usb/ ide/ common-obj-y += loader.o common-obj-$(CONFIG_VIRTIO) += virtio-console.o +common-obj-$(CONFIG_VIRTIO) += virtio-rng.o common-obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o common-obj-y += fw_cfg.o common-obj-$(CONFIG_PCI) += pci.o pci_bridge.o pci_bridge_dev.o -- cgit v1.1