Eugenio Pérez 6c4825476a vdpa: move vhost_vdpa_set_vring_ready to the caller
Doing that way allows CVQ to be enabled before the dataplane vqs,
restoring the state as MQ or MAC addresses properly in the case of a
migration.

The patch does it by defining a ->load NetClientInfo callback also for
dataplane.  Ideally, this should be done by an independent patch, but
the function is already static so it would only add an empty
vhost_vdpa_net_data_load stub.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20230822085330.3978829-5-eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-10-04 04:54:21 -04:00
..
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-10-04 04:53:52 -04:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:18 +03:00
2023-09-21 11:31:16 +03:00
2023-09-06 11:14:55 -04:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-08-23 12:06:39 +02:00
2023-09-21 11:31:16 +03:00
2023-10-04 04:54:09 -04:00
2023-09-21 09:32:47 -04:00
2023-09-21 11:31:16 +03:00
2023-10-04 04:53:52 -04:00
2023-09-20 07:54:34 +03:00
2023-09-20 07:54:34 +03:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-09-06 11:14:55 -04:00
2023-08-31 19:47:43 +02:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-07-25 17:14:07 +03:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-09-20 07:54:34 +03:00
2023-09-07 14:01:29 -04:00
2023-09-08 13:08:52 +03:00