Re: [PATCH v3 4/5] vdpa: move vhost_vdpa_set_vring_ready to the caller

2023-08-22 Thread Jason Wang
On Tue, Aug 22, 2023 at 4:53 PM Eugenio Pérez wrote: > > 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. Id

[PATCH v3 4/5] vdpa: move vhost_vdpa_set_vring_ready to the caller

2023-08-22 Thread Eugenio Pérez
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 functio