[pve-devel] [PATCH SERIES v2 manager/docs/widget-toolkit/qemu-server 0/4] fix #3593
Daniel Bowder
daniel at bowdernet.com
Fri Jul 1 02:09:44 CEST 2022
Summary:
Allows for virtual machines to be pinned to CPU cores via an affinity value
added to the qemu configuration. I previously created a v1 of this patch,
but it was my first submission and had lots of formatting issues. This patch
is v2. The affinity input can be found on the CPU Edit page for virtual
machines.
v1 can be found here:
https://lists.proxmox.com/pipermail/pve-devel/2022-June/053219.html
V1 -> V2:
* Adhere better to style guides
* Reuse PVE::CpuSet instead of reinventing the wheel
* Change new qemu conf parameter from 'cpuset' to 'affinity'
* Exec kvm using taskset to pin processes
qemu-server:
Daniel Bowder (1):
fix #3593: add affinity to qemu conf, launch taskset before kvm
PVE/QemuServer.pm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
docs:
Daniel Bowder (1):
fix #3593: add affinity to qm.conf docs
qm.adoc | 15 +++++++++++++++
qm.conf.5-opts.adoc | 4 ++++
2 files changed, 19 insertions(+)
widget-toolkit:
Daniel Bowder (1):
fix #3593: add CpuSet type to js frontend
src/Toolkit.js | 20 ++++++++++++++++++++
src/Utils.js | 2 ++
2 files changed, 22 insertions(+)
manager:
Daniel Bowder (1):
fix #3593: add js input for affinity
www/manager6/qemu/ProcessorEdit.js | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
--
2.36.1
More information about the pve-devel
mailing list