From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <d.csapak@proxmox.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 82925BA8A4
 for <pve-devel@lists.proxmox.com>; Wed, 20 Mar 2024 13:52:30 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 64DC9FAF7
 for <pve-devel@lists.proxmox.com>; Wed, 20 Mar 2024 13:52:00 +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 <pve-devel@lists.proxmox.com>; Wed, 20 Mar 2024 13:51:59 +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 699BE48B55
 for <pve-devel@lists.proxmox.com>; Wed, 20 Mar 2024 13:51:59 +0100 (CET)
From: Dominik Csapak <d.csapak@proxmox.com>
To: pve-devel@lists.proxmox.com
Date: Wed, 20 Mar 2024 13:51:52 +0100
Message-Id: <20240320125158.2094900-1-d.csapak@proxmox.com>
X-Mailer: git-send-email 2.39.2
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.019 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
 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. [qemumigrate.pm, proxmox.com, qemuserver.pm, qemu.pm, nodes.pm]
Subject: [pve-devel] [PATCH qemu-server/manager] pci live migration followups
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, 20 Mar 2024 12:52:30 -0000

this series is a follow up to my previous
'enable experimental support for pci live migration'
series [0] and intended to be applied on top (exceptions see at the end)

this fixes some issues that popped up during tests of the live migration
if there is a review of the v1 of the other series and this, i'll send a
v2 if necessary that includes both.

opted to send seperately, because it mostly touches independent things
and does not have to change the behaviour of the other series.

the first two patches of qemu-server could be applied regardless of the
pci live migration issue, since they fix/improve parts of the migration
cleanup in general

same with the first patch of pve-manager, as that improves the checks
for bulk-migration independent of the pci live migration.

qemu-server:

0: https://lists.proxmox.com/pipermail/pve-devel/2024-March/062226.html

Dominik Csapak (3):
  stop cleanup: remove unnecessary tpmstate cleanup
  migrate: call vm_stop_cleanup after stopping in phase3_cleanup
  api: include not mapped resources for running vms in migrate
    preconditions

 PVE/API2/Qemu.pm   | 27 +++++++++++++++------------
 PVE/QemuMigrate.pm | 12 ++++++------
 PVE/QemuServer.pm  | 20 ++++++++++----------
 3 files changed, 31 insertions(+), 28 deletions(-)

pve-manager:

Dominik Csapak (3):
  bulk migrate: improve precondition checks
  bulk migrate: include checks for live-migratable local resources
  ui: adapt migration window to precondition api change

 PVE/API2/Nodes.pm              | 27 ++++++++++++++++++++++++---
 www/manager6/window/Migrate.js | 24 ++++++++++++------------
 2 files changed, 36 insertions(+), 15 deletions(-)

-- 
2.39.2