]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainNamespaceTeardownRNG: Deduplicate code
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 21 Jul 2020 14:26:48 +0000 (16:26 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 3 Aug 2020 18:00:34 +0000 (20:00 +0200)
commitb9338334d51b340a911ac80902d651f0c143df13
treef2c407302b8c6cd0829a5b677b3a3888ab5ecfc4
parent3d74d6e2833dd863bafa42fc9d25b9f0e767f3cb
qemuDomainNamespaceTeardownRNG: Deduplicate code

We can use qemuDomainSetupRNG() to obtain the path that we
need to unlink() from within domain's namespace.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_namespace.c