[pve-devel] applied: [PATCH qemu-server v6 02/10] migrate: call vm_stop_cleanup after stopping in phase3_cleanup
Dominik Csapak
d.csapak at proxmox.com
Fri Mar 7 12:02:59 CET 2025
On 3/6/25 17:42, Fiona Ebner wrote:
> Am 13.02.25 um 14:17 schrieb Dominik Csapak:
>> we currently only call deactivate_volumes, but we actually want to call
>> the whole vm_stop_cleanup, since that is not invoked by the vm_stop
>> above (we cannot parse the config anymore) and might do other cleanups
>> we also want to do (like mdev cleanup).
>>
>> For this to work properly we have to clone the original config at the
>> beginning, since we might modify the volids.
>>
>> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
>
> applied, thanks!
>
> It seems like other callers with nocheck are affected by this too?
> Namely, live-restore upon failure and the remote_migration in some cases
> (see the mtunnel API endpoint) also won't clean up the PCI devices etc.
> IIUC, or am I missing something?
probably yes, I'll have to look, thanks for noticing that!
More information about the pve-devel
mailing list