• 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
qemu_security.c 9.3 KB