]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Implement support for EGD backend for virtio-rng
authorPeter Krempa <pkrempa@redhat.com>
Wed, 13 Feb 2013 10:22:23 +0000 (11:22 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 25 Feb 2013 09:55:14 +0000 (10:55 +0100)
commit820019fcdff27264bc5ae8fd01095840d3456aa6
tree8d2794a9e4dd561df5d0b09365e514dde032880c
parent234a55604eed46b1d4dd55a4d20b66e12a485bc6
qemu: Implement support for EGD backend for virtio-rng

This patch adds a new capability bit QEMU_CAPS_OBJECT_RNG_EGD and code
to support the egd backend for the VirtIO RNG device.

The device is added by 3 qemu command line options:
-chardev socket,id=charrng0,host=1.2.3.4,port=1234 (communication
                                                    backend)
-object rng-egd,chardev=charrng0,id=rng0 (RNG protocol client)
-device virtio-rng-pci,rng=rng0,bus=pci.0,addr=0x4 (the RNG device)
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c