• O
    cputune: Support cputune for qemu driver · 1cc4d025
    Osier Yang 提交于
    When domain startup, setting cpu affinity and cpu shares according
    to the cputune xml specified in domain xml.
    
    Modify "qemudDomainPinVcpu" to update domain config for vcpupin,
    and modify "qemuSetSchedulerParameters" to update domain config
    for cpu shares.
    
    v1 - v2:
       * Use "VIR_ALLOC_N" instead of "VIR_ALLOC_VAR"
       * But keep raising error when it fails on adding vcpupin xml
         entry, as I still don't have a better idea yet.
    1cc4d025
qemu_cgroup.c 14.0 KB