I have a virtual network for connecting KVM guests with the host.
I need to disable TCP checksum offloading on this network. The ethtool works fine but I want to disable it permanently and I could not find anything in virsh or QEMU documentation. Adding /etc/sysconfig/network-scripts/ifcfg-virbr1 file with the corresponding options also does not work.
ethtool -K eth0 tso off
inrc.local
or the vm startup script. You could probably do it as a libvirt hook tooI recommend doing this with a udev rule. I put this in /etc/udev/rules.d/81-bridge.rules:
More sophisticated approaches are possible, depending on your needs.
You can disable it in the guest's interface xml:
Refer to https://libvirt.org/formatdomain.html#setting-nic-driver-specific-options