From: Bogdan Ionescu <bogdan@ionescu.at>
To: f.gruenbichler@proxmox.com
Cc: pve-devel@lists.proxmox.com, Bogdan Ionescu <bogdan@ionescu.at>
Subject: [PATCH pve-guest-common] tunnel: propagate remote capabilities
Date: Fri, 15 May 2026 00:27:53 +0200 [thread overview]
Message-ID: <20260514222753.13187-2-bogdan@ionescu.at> (raw)
In-Reply-To: <20260514222753.13187-1-bogdan@ionescu.at>
Signed-off-by: Bogdan Ionescu <bogdan@ionescu.at>
---
src/PVE/Tunnel.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/PVE/Tunnel.pm b/src/PVE/Tunnel.pm
index 791b465..952fd66 100644
--- a/src/PVE/Tunnel.pm
+++ b/src/PVE/Tunnel.pm
@@ -315,6 +315,8 @@ sub fork_websocket_tunnel {
if ($version =~ /^(\d+)$/) {
$tunnel->{version} = $1;
$tunnel->{age} = $res->{age};
+ $tunnel->{caps} = $res->{caps}
+ if defined($res->{caps}) && ref($res->{caps}) eq 'ARRAY';
} else {
$err = "received invalid tunnel version string '$version'\n" if !$err;
}
--
2.47.3
next prev parent reply other threads:[~2026-05-14 22:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-25 1:10 [pve-devel] [RFC] qemu-server: add migration_type=insecure to remote-migrate Bogdan Ionescu
2026-04-30 12:40 ` Fabian Grünbichler
2026-05-14 22:25 ` Bogdan Ionescu
2026-05-14 22:27 ` [PATCH qemu-server] remote migration: allow insecure TCP data plane Bogdan Ionescu
2026-05-14 22:27 ` Bogdan Ionescu [this message]
2026-05-15 21:54 ` [PATCH v2 " Bogdan Ionescu
2026-05-15 21:54 ` [PATCH v2 pve-guest-common] tunnel: propagate remote capabilities Bogdan Ionescu
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=20260514222753.13187-2-bogdan@ionescu.at \
--to=bogdan@ionescu.at \
--cc=f.gruenbichler@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox