Hi all, I've recently faced an issue that the offloads settings of my Windows VM's tap devices reported with "ethtool -k" get changed after the VM migration.
After a quick look it appears that the offloads always get resent to the complete set of features the guest has reported. Here I'm sending a small patch which fixes this with all the detail in the commit description. Perhaps a cleaner approach would've been to actually restore the curr_guest_offloads after the virtio guest device features. This approach is much less invasive though, and more intended to illustrate the problem and potentially initiate a further discussion on the best way of fixing it. Thanks & Regards, Mikhail Mikhail Sennikovsky (1): virtio-net: prevent offloads reset on migration hw/display/virtio-gpu-base.c | 3 ++- hw/net/virtio-net.c | 5 +++-- hw/virtio/virtio.c | 10 +++++----- include/hw/virtio/virtio.h | 2 +- 4 files changed, 11 insertions(+), 9 deletions(-) -- 2.7.4