From: Fiona Ebner <f.ebner@proxmox.com>
To: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>,
pve-devel@lists.proxmox.com
Subject: Re: [PATCH qemu-server] fix #7627: net: virtio: disable host_tunnel feature again with 11.0+pve1
Date: Fri, 26 Jun 2026 10:34:10 +0200 [thread overview]
Message-ID: <ec8de239-e0c3-41fb-80d4-becb20836de3@proxmox.com> (raw)
In-Reply-To: <1781614973.8wdi1mzrwu.astroid@yuna.none>
Am 16.06.26 um 3:02 PM schrieb Fabian Grünbichler:
> On June 9, 2026 11:32 am, Fiona Ebner wrote:
>> 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?
>
> sound sensible - do we want to offer an escape hatch for setups with
> fixed guest kernels that want to benefit performance-wise?
I wrote this in the commit message and wanted to wait for actual user
requests, but okay, I'll send a v2 with such an option. Need to re-roll
for updating the commit message with the current information anyways.
next prev parent reply other threads:[~2026-06-26 8:34 UTC|newest]
Thread overview: 5+ 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
2026-06-16 13:03 ` Fabian Grünbichler
2026-06-26 8:34 ` Fiona Ebner [this message]
2026-06-26 12:09 ` superseded: " Fiona Ebner
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=ec8de239-e0c3-41fb-80d4-becb20836de3@proxmox.com \
--to=f.ebner@proxmox.com \
--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