public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: Re: [PATCH qemu-server] fix #7627: net: virtio: disable host_tunnel feature again with 11.0+pve1
Date: Tue, 9 Jun 2026 11:32:12 +0200	[thread overview]
Message-ID: <2d28bb02-bf70-4f9a-a91b-b5c8162527d6@proxmox.com> (raw)
In-Reply-To: <20260603152127.901085-1-f.ebner@proxmox.com>

Am 03.06.26 um 5:21 PM schrieb Fiona Ebner:
> QEMU machine version 10.2 started exposing the new features
> VIRTIO_NET_F_HOST_UDP_TUNNEL_GSO_CSUM
> VIRTIO_NET_F_HOST_UDP_TUNNEL_GSO
> VIRTIO_NET_F_GUEST_UDP_TUNNEL_GSO_CSUM
> VIRTIO_NET_F_GUEST_UDP_TUNNEL_GSO
> 
> but the host tunnel one causes issues with certain guest network
> configurations, in particular when using VXLAN [0][1][2][3] when the
> traffic goes over a physical NIC, at least when the NIC does not have
> support for these feature itself.
> 
> The negotiation in QEMU does not consider the physical NIC, it just
> looks whether the vhost-net device and the guest both support it and
> then turns on the feature for the tap device. However, it seems like
> the tap device does not itself add the inner TCP checksums for the
> encapsulated traffic. It's not entirely clear yet if this is a kernel
> issue or if the common configuration with bridged tap interface
> going to physical NIC is not supported in this configuration without
> some additional tweaks. When the traffic does not go via a physical
> NIC, it seems to work (i.e. both source and target VM on the same
> host).
> 
> For now, disable this advanced host tunnel feature again, until the
> issue can be properly diagnosed and fixed (if there is a fix to be
> made). If users do require the feature again, it can be exposed via
> the schema as CLI-only and maybe in the UI as an advanced
> configuration option.
> 
> [0]: https://bugzilla.proxmox.com/show_bug.cgi?id=7627
> [1]: https://forum.proxmox.com/threads/183494/post-855144
> [2]: https://forum.proxmox.com/threads/182328/post-854627
> [3]: https://forum.proxmox.com/threads/183963/#post-855737
> 
> Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
> ---
> 
> Many thanks to Stefan and Gabriel for discussions and continuing to
> analyze the issue! For now, let's make a stop-gap fix and turn the
> problematic host tunnel feature back off. I will also send a mail
> upstream asking about the issue, but not today, as I have to leave.

There is a patch now [0], but since the issue was in the virtio-net
driver, the fix will need to be rolled out to guest kernels, which we
don't have control over. While there is an easy workaround with pinning
the machine version to 10.1 for affected guests, I still wonder if we
should go for disabling the feature by default with 11.0+pve1 for now,
to avoid more people running into the regression? Maybe re-enabling it
with the next major PVE release next summer?

[0]:
https://lore.kernel.org/qemu-devel/566e0cc5-9a50-43b8-9866-f599a4657004@proxmox.com/




      reply	other threads:[~2026-06-09  9:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-03 15:21 [PATCH qemu-server] fix #7627: net: virtio: disable host_tunnel feature again with 11.0+pve1 Fiona Ebner
2026-06-09  9:32 ` 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=2d28bb02-bf70-4f9a-a91b-b5c8162527d6@proxmox.com \
    --to=f.ebner@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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal