qemu: Add helper to prepare cpumap for affinity setting
Abstract the codes to prepare cpumap into a helper a function, which can be used later. * src/qemu/qemu_process.h: Declare qemuPrepareCpumap * src/qemu/qemu_process.c: Implement qemuPrepareCpumap, and use it.
Showing
想要评论请 注册 或 登录