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 7FF121FF17E for ; Thu, 27 Nov 2025 16:40:27 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id A81FF7FA5; Thu, 27 Nov 2025 16:40:45 +0100 (CET) From: =?UTF-8?q?Michael=20K=C3=B6ppl?= To: pve-devel@lists.proxmox.com Date: Thu, 27 Nov 2025 16:40:41 +0100 Message-ID: <20251127154041.194423-3-m.koeppl@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251127154041.194423-1-m.koeppl@proxmox.com> References: <20251127154041.194423-1-m.koeppl@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1764258004325 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.038 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] [PATCH qemu-server v2 2/2] create_vm: set HA state when restoring VM if resource already exists 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" SW5zdGVhZCBvZiB0cnlpbmcgdG8gYWRkIGEgSEEgcmVzb3VyY2UgaW4gYW55IGNhc2UsIHdoaWNo IGZhaWxzIGlmIGl0C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ZV9yZXN0b3JlID8gJ3N0YXJ0ZWQnIDogJ3N0b3BwZWQnOwotICAgICAgICAg ICAgICAgIG15ICRjbWQgPSBbJ2hhLW1hbmFnZXInLCAnYWRkJywgInZtOiR2bWlkIiwgJy0tc3Rh dGUnLCAkc3RhdGVdOworICAgICAgICAgICAgICAgIG15ICRjbWQ7CisgICAgICAgICAgICAgICAg aWYgKCRyZXNvdXJjZV9leGlzdHMpIHsKKyAgICAgICAgICAgICAgICAgICAgcHJpbnQgIlVwZGF0 ZSBzdGF0ZSBvZiBIQSByZXNvdXJjZVxuIjsKKyAgICAgICAgICAgICAgICAgICAgJGNtZCA9IFsn aGEtbWFuYWdlcicsICdzZXQnLCAidm06JHZtaWQiLCAnLS1zdGF0ZScsICRzdGF0ZV07CisgICAg ICAgICAgICAgICAgfSBlbHNlIHsKKyAgICAgICAgICAgICAgICAgICAgcHJpbnQgIkFkZCBhcyBI QSByZXNvdXJjZVxuIjsKKyAgICAgICAgICAgICAgICAgICAgJGNtZCA9IFsnaGEtbWFuYWdlcics ICdhZGQnLCAidm06JHZtaWQiLCAnLS1zdGF0ZScsICRzdGF0ZV07CisgICAgICAgICAgICAgICAg fQorCiAgICAgICAgICAgICAgICAgZXZhbCB7IFBWRTo6VG9vbHM6OnJ1bl9jb21tYW5kKCRjbWQp OyB9OwogICAgICAgICAgICAgICAgIHdhcm4gJEAgaWYgJEA7CiAgICAgICAgICAgICB9Ci0tIAoy LjQ3LjMKCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18K cHZlLWRldmVsIG1haWxpbmcgbGlzdApwdmUtZGV2ZWxAbGlzdHMucHJveG1veC5jb20KaHR0cHM6 Ly9saXN0cy5wcm94bW94LmNvbS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vcHZlLWRldmVsCg==