[libvirt] [PATCHv4] virtio-rng: Add rate limiting options for virtio-RNG

Peter Krempa pkrempa at redhat.com
Tue Mar 5 08:13:58 UTC 2013


On 02/27/13 11:48, Peter Krempa wrote:
> On 02/27/13 11:42, Peter Krempa wrote:
>> Qemu's implementation of virtio RNG supports rate limiting of the
>> entropy used. This patch exposes the option to tune this functionality.
>>
>> This patch is based on qemu commit 904d6f588063fb5ad2b61998acdf1e73fb4
>>
>> The rate limiting is exported in the XML as:
>> <devices>
>>     ...
>>     <rng model='virtio'>
>>       <rate period='1234'>4321</rate>
>>       <backend model='random'/>
>>     </rng>
>>     ...
>> ---
>>
>> Notes:
>>       Version 4:
>>       - Reword docs
>>       - state it is available since 1.0.4 as the tree is frozen and this was actually never acked before

Now that the release is out. This patch is relevant for review and merge.

>>       Version 3:
>>       - State the time unit in docs
>>       Version 2:
>>       - Qemu uses bytes/period, adapt the value according to that
>>

Peter




More information about the libvir-list mailing list