From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 317CF1FF15C for ; Fri, 28 Nov 2025 11:37:24 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 989DA16ECC; Fri, 28 Nov 2025 11:37:45 +0100 (CET) Date: Fri, 28 Nov 2025 11:37:08 +0100 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox VE development discussion References: <20251125135107.561633-1-f.gruenbichler@proxmox.com> In-Reply-To: <20251125135107.561633-1-f.gruenbichler@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.17.0 (https://github.com/astroidmail/astroid) Message-Id: <1764326216.apunwxgong.astroid@yuna.none> X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1764326191956 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.046 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment 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] superseded: [RFC qemu-server] fix #6935: vmstatus: fallback to RSS in case of KSM usage 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: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" aHR0cHM6Ly9sb3JlLnByb3htb3guY29tL3B2ZS1kZXZlbC8yMDI1MTEyODEwMzYzOS40NDYzNzIt MS1mLmdydWVuYmljaG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AkbGluZSA9IDwkc21hcHNfZmg+KSB7Cj4gLSAgICAgICAgICAgICAgICBpZiAo JGxpbmUgPX4gbS9eUHNzOlxzKyhbMC05XSspIGtCJC8pIHsKPiArICAgICAgICAgICAgd2hpbGUg KG15ICRsaW5lID0gPCRwaWRfZmg+KSB7Cj4gKyAgICAgICAgICAgICAgICBpZiAoJGxpbmUgPX4g JGV4dHJhY3RfdXNhZ2VfcmUpIHsKPiAgICAgICAgICAgICAgICAgICAgICAkbWVtb3J5X3VzYWdl ICs9IGludCgkMSkgKiAxMDI0Owo+ICAgICAgICAgICAgICAgICAgICAgIGxhc3Q7ICMgZW5kIGlu bmVyIHdoaWxlIGxvb3AsIGdvIHRvIG5leHQgJHBpZAo+ICAgICAgICAgICAgICAgICAgfQo+ICAg ICAgICAgICAgICB9Cj4gLSAgICAgICAgICAgIGNsb3NlICRzbWFwc19maDsKPiArICAgICAgICAg ICAgY2xvc2UgJHBpZF9maDsKPiAgICAgICAgICB9Cj4gICAgICAgICAgY2xvc2UoJHByb2NzX2Zo KTsKPiAgICAgIH0KPiAtLSAKPiAyLjQ3LjMKPiAKPiAKPiAKPiBfX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IHB2ZS1kZXZlbCBtYWlsaW5nIGxpc3QKPiBw dmUtZGV2ZWxAbGlzdHMucHJveG1veC5jb20KPiBodHRwczovL2xpc3RzLnByb3htb3guY29tL2Nn aS1iaW4vbWFpbG1hbi9saXN0aW5mby9wdmUtZGV2ZWwKPiAKCgpfX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fXwpwdmUtZGV2ZWwgbWFpbGluZyBsaXN0CnB2ZS1k ZXZlbEBsaXN0cy5wcm94bW94LmNvbQpodHRwczovL2xpc3RzLnByb3htb3guY29tL2NnaS1iaW4v bWFpbG1hbi9saXN0aW5mby9wdmUtZGV2ZWwK