]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: RNG: Always fill in default random source path for default backend
authorPeter Krempa <pkrempa@redhat.com>
Fri, 25 Jul 2014 08:00:49 +0000 (10:00 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 28 Jul 2014 08:07:09 +0000 (10:07 +0200)
commit1c6999d3400f5bb35233e7b787bb697d50c8fac5
treeaf778700c44f9357395b7554e1600ab471101828
parente2e711aeaa297834e5eec14f8a32d32485e8bff6
conf: RNG: Always fill in default random source path for default backend

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.
src/conf/domain_audit.c
src/conf/domain_conf.c
src/qemu/qemu_cgroup.c
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-virtio-rng-default.args
tests/qemuxml2argvdata/qemuxml2argv-virtio-rng-multiple.args