[libvirt] [PATCH 0/2] qemu: Update CGroups on some devices hotplug

Michal Privoznik mprivozn at redhat.com
Fri Nov 18 11:30:11 UTC 2016


We are already doing that for some devices (e.g. disks,
hostdevs), but completely forgot about some others (chardevs and
RNGs). So far the hotplug worked by pure chance as /dev/random
and /dev/urandom are enabled in the device CGroups by default.

Michal Privoznik (2):
  qemu: Update cgroup on RNG hotplug
  qemu: Update cgroup on chardev hotplug

 src/qemu/qemu_cgroup.c  | 108 +++++++++++++++++++++++++++++++++++++++++-------
 src/qemu/qemu_cgroup.h  |   8 ++++
 src/qemu/qemu_hotplug.c |  37 ++++++++++++++---
 3 files changed, 131 insertions(+), 22 deletions(-)

-- 
2.8.4




More information about the libvir-list mailing list