Searched hist:"152128 d6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/net/ |
H A D | vhost-vdpa.c | 152128d6 Fri May 26 10:31:43 CDT 2023 Eugenio Pérez <eperezma@redhat.com> vdpa: move CVQ isolation check to net_init_vhost_vdpa
Evaluating it at start time instead of initialization time may make the guest capable of dynamically adding or removing migration blockers.
Also, moving to initialization reduces the number of ioctls in the migration, reducing failure possibilities.
As a drawback we need to check for CVQ isolation twice: one time with no MQ negotiated and another one acking it, as long as the device supports it. This is because Vring ASID / group management is based on vq indexes, but we don't know the index of CVQ before negotiating MQ.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Message-Id: <20230526153143.470745-3-eperezma@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> Acked-by: Jason Wang <jasowang@redhat.com>
|