Skip to content

rng-tools: add udev rule for virtio-rng

Amit Shah lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rngd: add udev rule to source from hwrng if virtio-rng present90-virtio-rng.rules+1 -09 replies
2/2Install udev rules in system-default directoryMakefile.am configure.ac+9 -02 replies
2/2Install udev rules in system-default directoryMakefile.am configure.ac+9 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchAmit Shah
1/2
2/2not-quite-Signed-off-by not-quite-Signed-off-by
2/2not-quite-Signed-off-by not-quite-Signed-off-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] rng-tools: add udev rule for virtio-rng

Hello,

I didn't find a mailing list for rng-tools, so CC'ing the kernel lists and the last few committers.

The first patch in this series adds a udev rule to start rngd for guests that have a virtio-rng device available.

The second patch attempts to add autoconf magic to install the udev rule in the system dirs. However, installing as non-root will obviously fail. Prefixes are also not honoured. I don't know of a better way, and we probably should leave this to distributions. However, if someone has a better idea on how to expand this, please suggest.

Amit Shah (2):
rngd: add udev rule to source from hwrng if virtio-rng present Install udev rules in system-default directory

 90-virtio-rng.rules | 1 +
 Makefile.am         | 1 +
 configure.ac        | 8 ++++++++
 3 files changed, 10 insertions(+)
 create mode 100644 90-virtio-rng.rules
Signature · 1 line
1.9.3