From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id B677A8DD50 for ; Thu, 10 Nov 2022 10:57:32 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 99E6B2473D for ; Thu, 10 Nov 2022 10:57:32 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Thu, 10 Nov 2022 10:57:31 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 9103F422FF; Thu, 10 Nov 2022 10:57:31 +0100 (CET) Date: Thu, 10 Nov 2022 10:57:30 +0100 From: Wolfgang Bumiller To: Daniel Bowder Cc: pve-devel@lists.proxmox.com Message-ID: <20221110095730.2wazqzfp5yvk65y3@casey.proxmox.com> References: <20220701000948.148496-1-daniel@bowdernet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220701000948.148496-1-daniel@bowdernet.com> X-SPAM-LEVEL: Spam detection results: 0 AWL -0.012 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_NUMSUBJECT 0.5 Subject ends in numbers excluding current years SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] applied-series: [PATCH SERIES v2 manager/docs/widget-toolkit/qemu-server 0/4] fix #3593 X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2022 09:57:32 -0000 sorry for the delay, applied, thanks On Thu, Jun 30, 2022 at 05:09:44PM -0700, Daniel Bowder wrote: > 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