From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <daniel@bowdernet.com>
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 C2C6171258
 for <pve-devel@lists.proxmox.com>; Wed,  8 Jun 2022 13:54:53 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id B7E337723
 for <pve-devel@lists.proxmox.com>; Wed,  8 Jun 2022 13:54:53 +0200 (CEST)
Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com
 [IPv6:2607:f8b0:4864:20::1029])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS id 69974770F
 for <pve-devel@lists.proxmox.com>; Wed,  8 Jun 2022 13:54:52 +0200 (CEST)
Received: by mail-pj1-x1029.google.com with SMTP id j7so18368403pjn.4
 for <pve-devel@lists.proxmox.com>; Wed, 08 Jun 2022 04:54:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=bowdernet.com; s=google;
 h=from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=wAS/8pizT2WjXxjaYGNhOB635oL0MXSWDXd7IUJpvnQ=;
 b=FUklBtDHmEdle9Wr/YTgRowDlcokapaWq3Jj81nnxAWK4x8RyyxIzu9EOY4FIitRTL
 FvcmOubeLC2N1vjrr1m9XiMJotLnyRRN352Qlu+LzPS4+K6kosO7v6uLSt27ANIwPisk
 i4XLVzvFZp+kYScLkhDPw2PD2binSE7bfiKgUw2iExU2Og9PZ4MzC0t3iyDPeCnvfHDD
 ohCp2X3Xa8j9T4yaG77hFeodMkoz1kALo4SCgZjg0OxrPDQudZ5Xh8tK6gUAq6dPVP/m
 aiN5pcgUUTHAR3DARTwgOZ7gdyaZVGuu7oonI1WCk4dLDMjqj5I2nj3XZlwOag2buRvv
 PgrA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=wAS/8pizT2WjXxjaYGNhOB635oL0MXSWDXd7IUJpvnQ=;
 b=InlPzIpJqnkORpTRs9FQbTlfQvrGdozq7WD9/7mW3KVquHfl4GGFppRP0St1+h7KLA
 ojpYzb/I8A3yJLuGAcpvryPaxSu6ABa7EVA9a1/HVzEJ2HfVd9uVCUPaqp9ChBAUyqsm
 lcNMqcUiJGBjV4YPiqoEqjIfoyF4nwK9Ble0EkcgiCZYlao9uzTXiKEI/OJSyJhq63F0
 l8f8khDYTCph7qNTYtGSWg3PvdomGRDFfZuTv1gpI8fHiy+7MifhzHMpamiS0TnlK9r1
 QinUD2I9iJYADhwWs2m5+wDeNrXcz+fJzjSVWvN3cte1f02QXU7feiAXcmvMZWrm9W4R
 k+4w==
X-Gm-Message-State: AOAM532lSaBJh3fwBalxi30eWSD77DVPB5o2h63xfS3IVx4B9N9lLhVa
 BbGpOMytXy6+IRXaveeVYkluaTyaNJ18rxfu
X-Google-Smtp-Source: ABdhPJwZ0H/HAEqH2Tw6GaC1Tp1sTs79h9hGc4N4UXaqZg21nxW3dfAd/sUiQWAwbl/ye7uL9VJTxg==
X-Received: by 2002:a17:902:f605:b0:154:aa89:bd13 with SMTP id
 n5-20020a170902f60500b00154aa89bd13mr34330067plg.112.1654689285266; 
 Wed, 08 Jun 2022 04:54:45 -0700 (PDT)
Received: from pve-dev.dbnet.in (c-24-19-168-226.hsd1.wa.comcast.net.
 [24.19.168.226]) by smtp.gmail.com with ESMTPSA id
 t6-20020a654b86000000b003fba6db1b50sm14902820pgq.85.2022.06.08.04.54.44
 for <pve-devel@lists.proxmox.com>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 08 Jun 2022 04:54:45 -0700 (PDT)
From: Daniel Bowder <daniel@bowdernet.com>
To: pve-devel@lists.proxmox.com
Date: Wed,  8 Jun 2022 04:54:23 -0700
Message-Id: <20220608115428.250668-1-daniel@bowdernet.com>
X-Mailer: git-send-email 2.30.2
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-SPAM-LEVEL: Spam detection results:  0
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
 RCVD_IN_DNSWL_NONE     -0.0001 Sender listed at https://www.dnswl.org/,
 no trust
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
 T_SCC_BODY_TEXT_LINE    -0.01 -
 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more
 information. [qemuserver.pm, bowdernet.com, guesthelpers.pm]
X-Mailman-Approved-At: Wed, 08 Jun 2022 14:30:46 +0200
Subject: [pve-devel] [PATCH 0/5] fix #3593: Added vm core pinning
X-BeenThere: pve-devel@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
List-Post: <mailto:pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Wed, 08 Jun 2022 11:54:53 -0000

These five patches add the ability to pin a QEMU VMs processes to a defined set of CPU cores. The changes required spanned multiple repos and have all been included in these five patches. The patches add "cpuset" as an option in the qm configuration file and enable the editing of this parameter via the gui.

pve-docs
 qm.conf.5-opts.adoc | 4 ++++
 1 file changed, 4 insertions(+)

pve-guest-common
 src/PVE/GuestHelpers.pm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

qemu-server
 PVE/QemuServer.pm | 49 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

proxmox-widget-toolkit
 src/Toolkit.js | 5 +++++
 src/Utils.js   | 2 ++
 2 files changed, 7 insertions(+)

pve-manager
 www/manager6/qemu/Options.js | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)