]> git.proxmox.com Git - mirror_qemu.git/commit - backends/rng-egd.c
rng: move request queue cleanup from RngEgd to RngBackend
authorLadi Prosek <lprosek@redhat.com>
Thu, 3 Mar 2016 08:37:17 +0000 (09:37 +0100)
committerAmit Shah <amit.shah@redhat.com>
Thu, 3 Mar 2016 12:12:26 +0000 (17:42 +0530)
commit9f14b0add1dcdbfa2ee61051d068211fb0a1fcc9
treedc14b6dbc59318bed325db89f613160a7307bd5c
parent74074e8a7c60592cf1cc6469dbc2550d24aeded3
rng: move request queue cleanup from RngEgd to RngBackend

RngBackend is now in charge of cleaning up the linked list on
instance finalization. It also exposes a function to finalize
individual RngRequest instances, called by its child classes.

Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Message-Id: <1456994238-9585-4-git-send-email-lprosek@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
backends/rng-egd.c
backends/rng.c
include/sysemu/rng.h