• E
    audit: prepare qemu for listing vm in cgroup audits · b4d3434f
    Eric Blake 提交于
    * src/qemu/qemu_cgroup.h (struct qemuCgroupData): New helper type.
    (qemuSetupDiskPathAllow, qemuSetupChardevCgroup)
    (qemuTeardownDiskPathDeny): Drop unneeded prototypes.
    (qemuSetupDiskCgroup, qemuTeardownDiskCgroup): Adjust prototype.
    * src/qemu/qemu_cgroup.c
    (qemuSetupDiskPathAllow, qemuSetupChardevCgroup)
    (qemuTeardownDiskPathDeny): Mark static and use new type.
    (qemuSetupHostUsbDeviceCgroup): Use new type.
    (qemuSetupDiskCgroup): Alter signature.
    (qemuSetupCgroup): Adjust caller.
    * src/qemu/qemu_hotplug.c (qemuDomainAttachHostUsbDevice)
    (qemuDomainDetachPciDiskDevice, qemuDomainDetachSCSIDiskDevice):
    Likewise.
    * src/qemu/qemu_driver.c (qemudDomainAttachDevice)
    (qemuDomainUpdateDeviceFlags): Likewise.
    b4d3434f
qemu_cgroup.h 2.1 KB