• M
    qemuDomainPrepareDisk: Fix ordering · 0a465238
    Michal Privoznik 提交于
    The current ordering is as follows:
    1) set label
    2) create the device in namespace
    3) allow device in the cgroup
    
    While this might work for now, it will definitely not work if the
    security driver would use transactions as in that case there
    would be no device to relabel in the domain namespace as the
    device is created in the second step.
    Swap steps 1) and 2) to allow security driver to use more
    transactions.
    Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
    0a465238
qemu_hotplug.c 185.7 KB