]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Move <rng> validation out of qemu_command.c
authorCole Robinson <crobinso@redhat.com>
Tue, 22 Jan 2019 19:02:27 +0000 (14:02 -0500)
committerCole Robinson <crobinso@redhat.com>
Thu, 24 Jan 2019 23:59:38 +0000 (18:59 -0500)
commit0ba9786d8a3a7c1e6ec6c64740bd757f2833659e
treedc85ad6f57183f7a508ffd0509c3a11784540a34
parent6427bfc8b3bb8c7a6ad55e09f27c0bcc5d1a85bf
qemu: Move <rng> validation out of qemu_command.c

Move the rng->model == VIRTIO check to parse time. This also
allows us to remove similar checks throughout the qemu driver

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_domain_address.c
tests/qemuxml2xmltest.c