Cédric Le Goater <c...@redhat.com> 于2025年7月15日周二 14:25写道:
>
> On 7/14/25 04:37, Huaitong Han wrote:
> > Hi, mst, clg
> >
> > Any comments?
>
>
> Since this seems to be a GIC issue on the aarch64 virt platform, you
> should cc: the virt-arm people for more insights.
>
> Also, the vfio-user devices have been merged very recently, ~1w ago,
> and, AFAICT, migration is not supported. Are you testing against the
> master QEMU branch ? Adding John in cc: nevertheless.

Yes, this is a problem with vfio and vgic working together on the
arm64 platform.
The test did not use qemu master, it uses our own backport branch.
However, this issue is essentially unrelated to vfio-user,  It is essentially
an arm64 vfio device live migration issue. vfio-user only provides a test
case that support vfio device live migration. other devices that support
vfio live migration will also trigger the issue on the arm4 platform.

>
> Thanks,
>
> C.
>
>
>
> > Thanks.
> > Huaitong Han
> >
> > Michael Tokarev <m...@tls.msk.ru> 于2025年7月13日周日 17:12写道:
> >
> >>
> >> Ping?  Has this been forgotten?
> >>
> >> Thanks,
> >>
> >> /mjt
> >>
> >> On 05.06.2025 11:33, oen...@gmail.com wrote:
> >>> From: Huguanshen Chen <chen...@chinatelecom.cn>
> >>>
> >>> On arm64 virtualization platform, vfio-user devices lose their interrupts 
> >>> after
> >>> migration to the destination. This issue occurs because qemu fails to 
> >>> deliver
> >>> the msi device id to the vGIC. The error device id is calculated based on 
> >>> the
> >>> device's parent bus, so it is essential to save the parent pci config to
> >>> prevent this issue.
> >>>
> >>> Backtrace:
> >>> QEMU:
> >>>    #0 qdev_get_parent_bus
> >>>    #1 pci_dev_bus_num
> >>>    #2 pci_req_id_cache_extract
> >>>    #3 pci_requester_id
> >>>    #4 kvm_irqchip_update_msi_route delivers 0(error id) to vGIC
> >>>
> >>> KVM:
> >>>    #0 find_its_device returns error
> >>>    #1 find_ite
> >>>    #2 vgic_its_resolve_lpi
> >>>    #3 vgic_its_trigger_msi
> >>>    #4 vgic_its_inject_msi
> >>>    #5 kvm_set_msi
> >>>    #6 kvm_send_userspace_msi
> >>>
> >>> Reported-by: Heng Zhang <zhangh...@chinatelecom.cn>
> >>> Signed-off-by: Huguanshen Chen <chen...@chinatelecom.cn>
> >>> Signed-off-by: Huaitong Han <han...@chinatelecom.cn>
> >>> ---
> >>>    hw/vfio/pci.c | 11 +++++++++++
> >>>    1 file changed, 11 insertions(+)
> >>>
> >>> diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
> >>> index a1bfdfe375..442113d0b7 100644
> >> ...
> >
>

Reply via email to