Skip to content

Add live migration support in the PVRDMA device

Sukrit Bhatnagar qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/pvrdma: make DSR mapping idempotent in load_dsr()hw/rdma/vmw/pvrdma_main.c+9 -82 replies
2/2hw/pvrdma: add live migration supporthw/rdma/vmw/pvrdma_main.c+77 -07 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchYuval ShaiaMarcel Apfelbaum
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH v1 0/2] Add live migration support in the PVRDMA device

This series enables the migration of various GIDs used by the device. This is in addition to the successful migration of PCI and MSIX states as well as various DMA addresses and ring page information.

We have a setup having two hosts and two VMs running atop them. Migrations are performed over the local network.

We also have performed various ping-pong tests (ibv_rc_pingpong) in the guest(s) after adding GID migration support and this is the current status:
- ping-pong to localhost succeeds, when performed before starting the migration and after the completion of migration.
- ping-pong to a peer succeeds, both before and after migration as above, provided that both VMs are running on/migrated to the same host. So, if two VMs were started on two different hosts, and one of them was migrated to the other host, the ping-pong was successful. Similarly, if two VMs are migrated to the same host, then after migration, the ping-pong was successful.
- ping-pong to a peer on the remote host is not working as of now.

Our next goal is to achieve successful migration with live traffic.

This is the same as the RFC v3 series posted earlier:
https://lists.gnu.org/archive/html/qemu-devel/2019-07/msg04752.html
https://lists.gnu.org/archive/html/qemu-devel/2019-07/msg04753.html
https://lists.gnu.org/archive/html/qemu-devel/2019-07/msg04754.html

Sukrit Bhatnagar (2):
hw/pvrdma: make DSR mapping idempotent in load_dsr() hw/pvrdma: add live migration support

 hw/rdma/vmw/pvrdma_main.c | 94 +++++++++++++++++++++++++++++++++++----
 1 file changed, 86 insertions(+), 8 deletions(-)
Signature · 1 line
2.21.0