Messages in this thread | | | Subject | Re: [PATCH] um: Rewrite host RNG driver. | From | Johannes Berg <> | Date | Thu, 29 Aug 2019 15:37:32 +0200 |
| |
On Wed, 2019-08-28 at 21:44 -0400, Alexander Neville wrote: > The old driver had a bug that would cause it to outright stop working if > the host's /dev/random were to block. Instead of trying to track down > the cause of said bug, rewriting it from scratch turned out to be a much > better option as it came with a few benefits: > > - The new driver properly registers itself as an hardware RNG. > > - The code is simpler and therefore easier to maintain. > > - It serves as a minimal example of writing a hardware RNG driver. > > I also edited the Kconfig symbol to bring it up to more modern > standards.
I realize that it's still easier to use, but theoretically you could just use the virtio implementation, and use that driver with a suitable small vhost device implementation. :-)
johannes
| |