On 02/13/2013 05:59 AM, Peter Krempa wrote:
This patchset adds VirtIO RNG device support to libvirt and it's
qemu driver.
Both ("random" and "egd") qemu backends are supported.
This series is techincally a v2 but the changes to the previous version
are substantial so I'm not marking it as such.
Peter Krempa (6):
doc: schema: Add basic documentation for the virtual RNG device
support
conf: Add support for RNG device configuration in XML
conf: Add RNG device ABI compatibility check
qemu: Implement support for the RNG device and the random backend
qemu: Implement support for EGD backend for virtio-rng
tests: Add tests for virtio-rng device handling
docs/formatdomain.html.in | 69 +++++++
docs/schemas/domaincommon.rng | 32 +++
src/conf/domain_conf.c | 229 ++++++++++++++++++++-
src/conf/domain_conf.h | 37 ++++
src/libvirt_private.syms | 2 +
src/qemu/qemu_capabilities.c | 6 +
src/qemu/qemu_capabilities.h | 4 +
src/qemu/qemu_command.c | 116 +++++++++++
.../qemuxml2argv-virtio-rng-egd.args | 1 +
.../qemuxml2argv-virtio-rng-egd.xml | 26 +++
.../qemuxml2argv-virtio-rng-random.args | 1 +
.../qemuxml2argv-virtio-rng-random.xml | 23 +++
tests/qemuxml2argvtest.c | 5 +
tests/qemuxml2xmltest.c | 3 +
14 files changed, 553 insertions(+), 1 deletion(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-virtio-rng-egd.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-virtio-rng-egd.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-virtio-rng-random.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-virtio-rng-random.xml
Another one that's been sitting around for a bit, so I looked...
I commented on a few nits.
John