qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] virtio-net: prevent offloads reset on migration
@ 2019-10-01 12:18 Mikhail Sennikovsky
  2019-10-01 12:18 ` Mikhail Sennikovsky
  0 siblings, 1 reply; 7+ messages in thread
From: Mikhail Sennikovsky @ 2019-10-01 12:18 UTC (permalink / raw)
  To: qemu-devel; +Cc: Mikhail Sennikovsky

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-10-10 12:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-01 12:18 [PATCH] virtio-net: prevent offloads reset on migration Mikhail Sennikovsky
2019-10-01 12:18 ` Mikhail Sennikovsky
2019-10-01 16:14   ` no-reply
2019-10-02  9:55   ` Dr. David Alan Gilbert
2019-10-07 10:31     ` Mikhail Sennikovsky
2019-10-10  5:33     ` Jason Wang
2019-10-10 12:15       ` Mikhail Sennikovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).