Re: [PATCH v2 1/2] vfio/xe: Reorganize the init to decouple migration from reset
From: Alex Williamson
Date: Mon Apr 13 2026 - 17:58:53 EST
On Sat, 11 Apr 2026 00:49:47 +0200
Michał Winiarski <michal.winiarski@xxxxxxxxx> wrote:
> Attempting to issue reset on VF devices that don't support migration
> leads to the following:
[...]
> This is caused by the fact that some of the xe_vfio_pci_core_device
> members needed for handling reset are only initialized as part of
> migration init.
>
> Fix the problem by reorganizing the code to decouple VF init from
> migration init.
>
> Fixes: 1f5556ec8b9ef ("vfio/xe: Add device specific vfio_pci driver variant for Intel graphics")
> Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/7352
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Michał Winiarski <michal.winiarski@xxxxxxxxx>
> ---
> drivers/vfio/pci/xe/main.c | 43 ++++++++++++++++++++++----------------
> 1 file changed, 25 insertions(+), 18 deletions(-)
Applied to vfio next branch for v7.1. Thanks,
Alex