On Sun, 2 Mar 2025 18:27:23 +0200
Yishai Hadas <yish...@nvidia.com> wrote:

> With a functional and tested backend for virtio-block live migration,
> add the virtio-block device ID to the pci_device_id table.
> 
> Currently, the driver supports legacy IO functionality only for
> virtio-net, and it is accounted for in specific parts of the code.
> 
> To enforce this limitation, an explicit check for virtio-net, has been
> added in virtiovf_support_legacy_io(). Once a backend implements legacy
> IO functionality for virtio-block, the necessary support will be added
> to the driver, and this additional check should be removed.
> 
> The module description was updated accordingly.
> 
> Reviewed-by: Kevin Tian <kevin.t...@intel.com>
> Signed-off-by: Yishai Hadas <yish...@nvidia.com>
> ---
> Changes from V0:
> https://lore.kernel.org/kvm/20250227155444.57354e74.alex.william...@redhat.com/T/
> 
> - Replace "NET,BLOCK" with "NET and BLOCK" for readability, as was
>   suggested by Alex.
> - Make the tristate summary more generic as was suggeted by Kevin and
>   Alex.
> - Add Kevin Tian Reviewed-by clause.
> 
>  drivers/vfio/pci/virtio/Kconfig     | 6 +++---
>  drivers/vfio/pci/virtio/legacy_io.c | 4 +++-
>  drivers/vfio/pci/virtio/main.c      | 5 +++--
>  3 files changed, 9 insertions(+), 6 deletions(-)

Applied to vfio next branch for v6.15.  Thanks,

Alex


Reply via email to