ASF subversion and git services commented on CLOUDSTACK-9395:

Commit 0beb41b6e7d5177a64ac12d86d31c0766dc58d03 in cloudstack's branch 
refs/heads/master from [~widodh]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0beb41b ]

CLOUDSTACK-9395: Add Virtio RNG device to Instances when configured

By adding a Random Number Generator device to Instances we can prevent
entropy starvation inside guest.

The default source is /dev/random on the host, but this can be configured
to another source when present, for example a hardware RNG.

When enabled it will add the following to the Instance's XML definition:

  <rng model='virtio'>
    <rate period='1000' bytes='2048' />
    <backend model='random'>/dev/random</backend>

If the Instance has the proper support, which most modern distributions have,
it will have a /dev/hwrng device which it can use for gathering entropy.

More information: https://libvirt.org/formatdomain.html#elementsRng

> Add VirtIO Random Number Geneator to KVM Instances
> --------------------------------------------------
>                 Key: CLOUDSTACK-9395
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9395
>             Project: CloudStack
>          Issue Type: New Feature
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: KVM
>            Reporter: Wido den Hollander
>            Assignee: Wido den Hollander
>              Labels: kvm, libvirt, virtio
>             Fix For: Future
> Add a VirtIO Random Number Generator (RNG) to all Instances to prevent 
> entropy starvation in guests.
> More information:
> - https://libvirt.org/formatdomain.html
> - https://fedoraproject.org/wiki/Features/Virtio_RNG
> In the end this make sure the Entropy performance in Instances is better

This message was sent by Atlassian JIRA

Reply via email to