1. 17 3月, 2017 8 次提交
  2. 16 3月, 2017 30 次提交
  3. 15 3月, 2017 2 次提交
    • M
      qemu: Allow nvdimm in devices CGroups · 6e95abb4
      Michal Privoznik 提交于
      Some users might want to pass a blockdev or a chardev as a
      backend for NVDIMM. In fact, this is expected to be the mostly
      used configuration. Therefore libvirt should allow the device in
      devices CGroup then.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      6e95abb4
    • M
      qemu_hotplug: Relabel memdev · 78612aa5
      Michal Privoznik 提交于
      Now that we have APIs for relabel memdevs on hotplug, fill in the
      missing implementation in qemu hotplug code.
      
      The qemuSecurity wrappers might look like overkill for now,
      because qemu namespace code does not deal with the nvdimms yet.
      Nor does our cgroup code.  But hey, there's cgroup_device_acl
      variable in qemu.conf. If users add their /dev/pmem* device in
      there, the device is allowed in cgroups and created in the
      namespace so they can successfully passthrough it to the domain.
      It doesn't look like overkill after all, does it?
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      78612aa5