[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 0/3] Do not override affinity set by auto placement



Creating cgroup for emulator thread will override the affinity
set by "auto" placement with all available pCPUs. 1/3 is just to
add a helper to for later use. 2/3 to keep the affinity set by
'auto' placement. 3/3 to prohibit changing the affinity for
emulator thread dynamically if placement == "auto".

Osier Yang (3):
  qemu: Add helper to prepare cpumap for affinity setting
  qemu: Keep the affinity when creating cgroup for emulator thread
  qemu: Prohibit chaning affinity of domain process if placement is
    'auto'

 src/qemu/qemu_cgroup.c  |   17 ++++++++++--
 src/qemu/qemu_cgroup.h  |    3 +-
 src/qemu/qemu_driver.c  |    7 +++++
 src/qemu/qemu_process.c |   64 ++++++++++++++++++++++++++++++----------------
 src/qemu/qemu_process.h |    2 +
 5 files changed, 67 insertions(+), 26 deletions(-)

-- 
1.7.7.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]