[OE-core] [PATCH] qemu.inc: Drop rng-tools

Otavio Salvador otavio.salvador at ossystems.com.br
Thu Nov 16 13:26:14 UTC 2017


Hello Richard,
Hello Ross,

On Thu, Nov 16, 2017 at 11:14 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> On Thu, 2017-11-16 at 13:11 +0000, Burton, Ross wrote:
>> On 15 November 2017 at 19:59, Otavio Salvador <otavio.salvador at ossyst
>> ems.com.br> wrote:
>> > > Are you enabling the virtio-rng driver so qemu can bridge the
>> > host entropy
>> > > into the guest?
>> >
>> > I am not. Do you have an example of command line for it?
>>  https://wiki.qemu.org/Features/VirtIORNG talks about qemu's support
>> and what to turn on there (the default qemu machines enable that).
>>
>> http://elixir.free-electrons.com/linux/latest/source/drivers/char/hw_
>> random/Kconfig documents HW_RANDOM_VIRTIO and says at the top that
>> the devices feed into the kernel pool.
>
> Just to add, for qemuarm:
>
> machine/qemuarm.conf:QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet -device virtio-rng-pci"
>
> the key piece being virtio-rng-pci on the commandline.

I did try it here. Thanks for the pointers.

We use a Docker container to run QEMU and in this environment, it does
not work well. At least I did not get it working.

I don't know if it is a problem or not for OE-Core. Possibly people
will run things inside a container and keep rng-tools makes it working
in those environments.

I will keep investigating here if I can make it work in a container ...

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list