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

John Ferlan jferlan at redhat.com
Fri Jul 25 12:55:06 UTC 2014



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




More information about the libvir-list mailing list