[libvirt] [PATCH] conf: RNG: Always fill in default random source path for default backend

Peter Krempa pkrempa at redhat.com
Mon Jul 28 08:31:10 UTC 2014


On 07/25/14 14:55, John Ferlan wrote:
> On 07/25/2014 04:03 AM, Peter Krempa wrote:
>> Libvirt documents that the default entropy source for the 'random'
>> backend of a RNG device is /dev/random. Instead of storing and
>> propagating NULL across our code and checking it in multiple places fill
>> the default in the post parse callback and use that in the other places.
>> ---
>> Sending the fix as promised in the multiple-rng series.
>>
>>
>>  src/conf/domain_audit.c                                    | 10 ++--------
>>  src/conf/domain_conf.c                                     | 14 +++++++++-----
>>  src/qemu/qemu_cgroup.c                                     | 12 ++++--------
>>  src/qemu/qemu_command.c                                    |  5 ++---
>>  .../qemuxml2argvdata/qemuxml2argv-virtio-rng-default.args  |  2 +-
>>  .../qemuxml2argvdata/qemuxml2argv-virtio-rng-multiple.args |  3 ++-
>>  6 files changed, 20 insertions(+), 26 deletions(-)
>>
> 
> ACK
> 
> John
> 

Pushed; Thanks.

Peter


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140728/5c5f97de/attachment-0001.sig>


More information about the libvir-list mailing list