Searched hist:"5 c1ebd4c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/net/ |
H A D | vhost-vdpa.c | 5c1ebd4c Fri Mar 03 11:24:42 CST 2023 Eugenio Pérez <eperezma@redhat.com> vdpa: block migration if device has unsupported features
A vdpa net device must initialize with SVQ in order to be migratable at this moment, and initialization code verifies some conditions. If the device is not initialized with the x-svq parameter, it will not expose _F_LOG so the vhost subsystem will block VM migration from its initialization.
Next patches change this, so we need to verify migration conditions differently.
QEMU only supports a subset of net features in SVQ, and it cannot migrate state that cannot track or restore in the destination. Add a migration blocker if the device offers an unsupported feature.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Message-Id: <20230303172445.1089785-12-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>
|