[libvirt] [PATCH v2] qemuDomainRemoveRNGDevice: Remove associated chardev too

Ján Tomko jtomko at redhat.com
Wed Dec 5 13:16:45 UTC 2018


On Tue, Dec 04, 2018 at 04:06:50PM +0100, Michal Privoznik wrote:
>https://bugzilla.redhat.com/show_bug.cgi?id=1656014
>
>An RNG device can consists of more devices than RND device
>itself. For instance, in case of EGD there is a chardev that
>connects to EGD daemon and feeds the qemu with random data. When
>doing RNG device removal we have to remove the associated chardev
>as well.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
>
>diff to v1:
>- Detach Extension Device too
>- Reoder the way in which devices are detached (as suggested in v1)
>
> src/qemu/qemu_hotplug.c | 16 +++++++++++++---
> 1 file changed, 13 insertions(+), 3 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20181205/f13a5482/attachment-0001.sig>


More information about the libvir-list mailing list