From: Fiona Ebner <f.ebner@proxmox.com>
To: Erik Fastermann <e.fastermann@proxmox.com>, pve-devel@lists.proxmox.com
Subject: Re: [RFC qemu-server 0/4] remote migrate: extract preconditions and add check endpoint
Date: Wed, 5 Aug 2026 11:26:46 +0200 [thread overview]
Message-ID: <f61fa92a-1785-4e6e-85dc-97214cb90c81@proxmox.com> (raw)
In-Reply-To: <dfa5989a-65c4-4435-9a9e-3b0dbe813b50@proxmox.com>
Am 31.07.26 um 3:42 PM schrieb Erik Fastermann:
>> Am 21.07.26 um 1:58 PM schrieb Erik Fastermann:
>>> - Running the checks over the Tunnel command instead would add a new
>>> command that older endpoints do not understand. Both here and for the
>>> API, a capability/feature endpoint could help: source and/or target
>>> query what each supports for a migration, and older versions fall
>>> back to the current checks. Is that worth introducing now?
>>
>> The capability negotiation can be done via a new tunnel command, see:
>> https://lore.proxmox.com/pve-devel/b072f9d7-
>> b0f8-41fc-8c37-7ea90798aa1b@proxmox.com/
>>
>> It should be possible to issue the capabilities command to the target
>> and detect if the target side understands it (look at the error message
>> to see if unknown or failed for other reasons) and otherwise it's too
>> old and has no capabilities at all.
>>
>
> That direction makes sense to me. Concretely:
>
> - Add a capabilities tunnel command, plus a precondition tunnel command
> in which the source sends the relevant config and the target runs the
> checks it can answer better than the source can.
>
> - The existing source-side checks stay. They are still the only thing
> that runs against a target without the capability, so removing them
> would mean no checks at all for new -> old migrations.
>
> - New checks that need target-side knowledge go through the new command;
> new checks that are purely source-config-derived go into the shared
> helper this series adds.
>
> - The new tunnel commands are issued by the precondition endpoint.
As well as the actual migration later.
>
> - That leaves the current series structurally as-is, with your feedback
> applied, and the tunnel work follows on top.
>
> What do you think about this?
Sounds good to me :)
prev parent reply other threads:[~2026-08-05 9:26 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-21 11:58 [RFC qemu-server 0/4] remote migrate: extract preconditions and add check endpoint Erik Fastermann
2026-07-21 11:58 ` [RFC qemu-server 1/4] remote migrate: drop ineffective fingerprint auto-detection Erik Fastermann
2026-07-29 9:56 ` Fiona Ebner
2026-07-29 9:59 ` Fiona Ebner
2026-07-29 10:02 ` Fiona Ebner
2026-07-29 10:07 ` Fabian Grünbichler
2026-07-29 10:17 ` Fiona Ebner
2026-07-21 11:58 ` [RFC qemu-server 2/4] remote migrate: collect preconditions as structured findings Erik Fastermann
2026-07-29 9:56 ` Fiona Ebner
2026-07-31 13:42 ` Erik Fastermann
2026-08-05 9:26 ` Fiona Ebner
2026-07-21 11:58 ` [RFC qemu-server 3/4] qm: remote-migrate: call API endpoint directly Erik Fastermann
2026-07-21 11:58 ` [RFC qemu-server 4/4] remote migrate: add precondition check endpoint Erik Fastermann
2026-07-29 9:56 ` Fiona Ebner
2026-07-31 13:43 ` Erik Fastermann
2026-08-05 9:26 ` Fiona Ebner
2026-07-29 9:56 ` [RFC qemu-server 0/4] remote migrate: extract preconditions and add " Fiona Ebner
2026-07-31 13:42 ` Erik Fastermann
2026-07-31 14:44 ` Daniel Kral
2026-08-05 9:26 ` Fiona Ebner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f61fa92a-1785-4e6e-85dc-97214cb90c81@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=e.fastermann@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.