qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH 0/3] VIRTIO_NET_F_CTRL_GUEST_OFFLOADS vDPA Shadow VirtQueue i


From: Eugenio Pérez
Subject: [RFC PATCH 0/3] VIRTIO_NET_F_CTRL_GUEST_OFFLOADS vDPA Shadow VirtQueue implementation
Date: Fri, 25 Nov 2022 15:38:56 +0100

This feature allows the driver to send control commands for dynamic offloads
state configuration.

When a guest is migrated the destination device needs to be restored with the
same offloads. As other features configurable via CVQ, intercept the control
messages, update the device model and load that configuration at device
restore.

Only tested with modified vdpa_sim_net. Comments are welcome.

Eugenio Pérez (3):
  virtio_net: export virtio_net_guest_offloads_by_features
  vdpa: load guest offloads at device start
  vdpa: add VIRTIO_NET_F_CTRL_GUEST_OFFLOADS to SVQ features

 include/hw/virtio/virtio-net.h |  1 +
 hw/net/virtio-net.c            |  2 +-
 net/vhost-vdpa.c               | 32 ++++++++++++++++++++++++++++++--
 3 files changed, 32 insertions(+), 3 deletions(-)

-- 
2.31.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]