mbox series

[v2,0/6] Vhost-vdpa Shadow Virtqueue multiqueue support.

Message ID 20220824183551.197052-1-eperezma@redhat.com (mailing list archive)
Headers show
Series Vhost-vdpa Shadow Virtqueue multiqueue support. | expand

Message

Eugenio Perez Martin Aug. 24, 2022, 6:35 p.m. UTC
This series enables shadowed CVQ to intercept multiqueue commands through
shadowed CVQ, update the virtio NIC device model so qemu send it in a
migration, and the restore of that MQ state in the destination.

It needs to be applied on top of [1].

[1] https://lists.gnu.org/archive/html/qemu-devel/2022-08/msg02965.html

v2:
* Add vhost_vdpa_net_load_cmd helper to avoid out buffers castings.
* Make cvq_cmd_in_buffer virtio_net_ctrl_ack type.

Eugenio Pérez (6):
  vdpa: Make VhostVDPAState cvq_cmd_out_buffer control ack type
  vdpa: extract vhost_vdpa_net_load_mac from vhost_vdpa_net_load
  vdpa: Add vhost_vdpa_net_load_mq
  vdpa: validate MQ CVQ commands
  virtio-net: Update virtio-net curr_queue_pairs in vdpa backends
  vdpa: Allow MQ feture in SVQ

 hw/net/virtio-net.c |  17 +++-----
 net/vhost-vdpa.c    | 101 ++++++++++++++++++++++++++++++++++----------
 2 files changed, 85 insertions(+), 33 deletions(-)

--
2.31.1

Comments

Jason Wang Aug. 25, 2022, 3:18 a.m. UTC | #1
On Thu, Aug 25, 2022 at 2:35 AM Eugenio Pérez <eperezma@redhat.com> wrote:
>
> This series enables shadowed CVQ to intercept multiqueue commands through
> shadowed CVQ, update the virtio NIC device model so qemu send it in a
> migration, and the restore of that MQ state in the destination.
>
> It needs to be applied on top of [1].
>
> [1] https://lists.gnu.org/archive/html/qemu-devel/2022-08/msg02965.html
>
> v2:
> * Add vhost_vdpa_net_load_cmd helper to avoid out buffers castings.
> * Make cvq_cmd_in_buffer virtio_net_ctrl_ack type.
>
> Eugenio Pérez (6):
>   vdpa: Make VhostVDPAState cvq_cmd_out_buffer control ack type
>   vdpa: extract vhost_vdpa_net_load_mac from vhost_vdpa_net_load
>   vdpa: Add vhost_vdpa_net_load_mq
>   vdpa: validate MQ CVQ commands
>   virtio-net: Update virtio-net curr_queue_pairs in vdpa backends
>   vdpa: Allow MQ feture in SVQ

(Typo here).

Looks good, let's wait for confirmation from Si Wei. Then I can queue
this series.

Thanks

>
>  hw/net/virtio-net.c |  17 +++-----
>  net/vhost-vdpa.c    | 101 ++++++++++++++++++++++++++++++++++----------
>  2 files changed, 85 insertions(+), 33 deletions(-)
>
> --
> 2.31.1
>
>