• J
    qemu: Don't ignore CPU tuning config if required cgroups are missing · 774eb45b
    Jiri Denemark 提交于
    When domain XML contains any of the elements for setting up CPU
    scheduling parameters (period, quota, emulator_period, or
    emulator_quota) we need cpu cgroup to enforce the configuration.
    However, the existing code would just ignore silently such settings if
    either cgroups were not available at all cpu cgroup was not available.
    Moreover, APIs for manipulating CPU scheduler parameters were already
    failing if cpu cgroup was not available. This patch makes cpu cgroup
    mandatory for all domains that use CPU scheduling elements in their XML.
    774eb45b
qemu_cgroup.c 25.0 KB