From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id CDA6F1FF16F for ; Fri, 15 Nov 2024 10:55:07 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E5F95102D8; Fri, 15 Nov 2024 10:55:08 +0100 (CET) Message-ID: <787aaaa9-1f7a-49c8-925e-49308d24df0d@proxmox.com> Date: Fri, 15 Nov 2024 10:55:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta To: Proxmox VE development discussion , Fiona Ebner , =?UTF-8?Q?Fabian_Gr=C3=BCnbichler?= References: <20241104104221.228730-1-f.gruenbichler@proxmox.com> <20241104104221.228730-4-f.gruenbichler@proxmox.com> <41efc325-3174-4b26-9a23-9dca1df258e4@proxmox.com> <5940b821-b931-4b4a-8262-05c12f7c7cdc@proxmox.com> Content-Language: en-US From: Dominik Csapak In-Reply-To: <5940b821-b931-4b4a-8262-05c12f7c7cdc@proxmox.com> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.014 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 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [qemu.pm] Subject: Re: [pve-devel] [PATCH v2 qemu-server 1/1] disk import: add additional safeguards for imported image files 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-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" T24gMTEvMTUvMjQgMTA6NDksIEZpb25hIEVibmVyIHdyb3RlOgo+IE9uIDE1LjExLjI0IDEwOjQy IEFNLCBGaW9uYSBFYm5lciB3cm90ZToKPj4gT24gMDQuMTEuMjQgMTE6NDIgQU0sIEZhYmlhbiBH csO8bmJpY2hsZXIgd3JvdGU6Cj4+PiBjcmVhdGluZyBub24tcmF3IGRpc2sgaW1hZ2VzIHdpdGgg YXJiaXRyYXJ5IGNvbnRlbnQgaXMgb25seSBwb3NzaWJsZSB3aXRoIHJhdwo+Pj4gYWNjZXNzIHRv IHRoZSBzdG9yYWdlLCBidXQgY2hlY2tpbmcgZm9yIHJlZmVyZW5jZXMgdG8gZXh0ZXJuYWwgZmls ZXMgZG9lc24ndAo+Pj4gaHVydC4KPj4+Cj4+PiBTaWduZWQtb2ZmLWJ5OiBGYWJpYW4gR3LDvG5i aWNobGVyIDxmLmdydWVuYmljaGxlckBwcm94bW94LmNvbT4KPj4+IC0tLQo+Pj4KPj4+IE5vdGVz Ogo+Pj4gICAgICByZXF1aXJlcyBwdmUtc3RvcmFnZSBjaGFuZ2UgdG8gYWN0dWFsbHkgaGF2ZSBh biBlZmZlY3QKPj4+ICAgICAgCj4+PiAgICAgIHYyOgo+Pj4gICAgICAtIHJlLW9yZGVyIGNv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