History | View | Annotate | Download (5.2 kB)
rng-egd: remove redundant free
We didn't set default chr_name, the free is redundant.
Signed-off-by: Amos Kong <akong@redhat.com>Message-id: 1385023371-8198-2-git-send-email-akong@redhat.comSigned-off-by: Anthony Liguori <aliguori@amazon.com>
rng-egd: offset the point when repeatedly read from the buffer
The buffer content might be read out more than once, currentlywe just repeatedly read the first data block, buffer offset ismissing.
Cc: qemu-stable@nongnu.orgSigned-off-by: Amos Kong <akong@redhat.com>...
sysemu: avoid proliferation of include/ subdirectories
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qemu-char: Call fe_claim / fe_release when not using qdev chr properties
chardev-frontends need to explictly check, increase and decrement theavail_connections "property" of the chardev when they are not using aqdev-chardev-property for the chardev.
This fixes things like:...
Make all static TypeInfos const
Since 39bffca2030950ef6efe57c2fac8327a45ae1015 (qdev: register alltypes natively through QEMU Object Model), TypeInfo as used inthe common, non-iterative pattern is no longer amended with informationand should therefore be const....
softmmu: move remaining include files to include/ subdirectories
qapi: move include files to include/qobject/
rng-egd: don't use gslist_free_full
This function was only introduced in glib 2.28.0.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
rng-egd: introduce EGD compliant RNG backend
This backend talks EGD to a CharDriverState. A typical way to invoke this wouldbe:
qemu -chardev socket,host=localhost,port=1024,id=chr0 \ -object rng-egd,chardev=chr0,id=egd0 \ -device virtio-rng-pci,rng=egd0...