]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Update cgroup on RNG hotplug
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 18 Nov 2016 10:17:51 +0000 (11:17 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 23 Nov 2016 15:37:57 +0000 (16:37 +0100)
commit085692c8bb9154f6f5e66b2e3fa150daef03fa19
tree005de4b830a3dd559b1de653536499d2ae0c6b80
parent2878d145fc64b85f7499d46ab8cb236fb308d3c5
qemu: Update cgroup on RNG hotplug

If users try to hotplug RNG device with a backend different to
/dev/random or /dev/urandom the whole operation fails as qemu is
unable to access the device. The problem is we don't update
device CGroups during the operation.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_cgroup.c
src/qemu/qemu_cgroup.h
src/qemu/qemu_hotplug.c