Re: [PATCH v4 00/33] Multifd 🔀 device state transfer support with VFIO consumer

2025-02-20 Thread Yanghang Liu
| | Memory bandwidth | 706.921 MiB/s | 750.706 MiB/s | 746.295 MiB/s | | Total downtime | 174ms | 193ms | 191ms | +--+---+---++ Best Regards, Yanghang Liu On Mon, Feb 3, 2025 at 10:20 PM Cédric Le Goater wrote: > >

Re: [PATCH v3 00/24] Multifd 🔀 device state transfer support with VFIO consumer

2024-12-19 Thread Yanghang Liu
| 309ms| | Setup time | 442 ms| 446ms| +--+---+--+ Best Regards, Yanghang Liu On Thu, Dec 19, 2024 at 4:53 PM Cédric Le Goater wrote: > > Hello Yanghang > > On 12/19/24 08:55, Yanghang Liu wrote: &

Re: [PATCH v3 00/24] Multifd 🔀 device state transfer support with VFIO consumer

2024-12-18 Thread Yanghang Liu
5 Normal data: 751.672 MiB 739.680 MiB Total downtime 304 ms309ms Setup time442 ms446ms Best Regards, Yanghang Liu On Fri, Dec 13, 2024 at 1:36 AM Peter Xu wrote: > >

Re: [PATCH v2 0/3] VIRTIO-IOMMU: Introduce an aw-bits option

2024-02-04 Thread YangHang Liu
There is no VFIO_MAP_DMA error when hotplug 2 E810 PFs into a VM which has a virtio-iommu device. In addition, 21 regression tests of Tier1 level were run and all got PASS. Tested-by: Yanghang Liu On Fri, Feb 2, 2024 at 12:33 AM Eric Auger wrote: > > In [1] and [2] we attempted to fix

Re: [PATCH 0/3] monitor: only run coroutine commands in qemu_aio_context

2024-02-02 Thread YangHang Liu
reproduced even if I repeat the same migration test for 60 times. Tested-by: Yanghang Liu Best Regards, YangHang Liu On Mon, Jan 29, 2024 at 7:39 PM Peter Maydell wrote: > > On Tue, 16 Jan 2024 at 19:01, Stefan Hajnoczi wrote: > > > > Several bugs have been reported relat

Re: [PATCH v1] target/i386/host-cpu: Use IOMMU addr width for passthrough devices on Intel platforms

2023-12-05 Thread YangHang Liu
After applying this patch, the Q35 + OVMF L2 VM with a igbvf will not throw the error like: [1]VFIO_MAP_DMA failed: Invalid argument. [2]vfio_dma_map(0x560a1a64e3b0, 0x38304000, 0x4000, 0x7fcfc4053000) = -22 (Invalid argument) Tested-by: Yanghang Liu On Wed, Dec 6, 2023 at 2:08 AM

Re: [PATCH] pcie_sriov: Remove g_new assertion

2023-11-30 Thread YangHang Liu
After applying this patch, the VM with a igbvf will not crash during reboot. Tested-by: Yanghang Liu On Mon, Nov 27, 2023 at 5:12 PM Cédric Le Goater wrote: > On 11/23/23 08:56, Akihiko Odaki wrote: > > g_new() aborts if the allocation fails so it returns NULL only if the >

Re: [PATCH v3 00/13] VIRTIO-IOMMU/VFIO: Don't assume 64b IOVA space

2023-10-19 Thread YangHang Liu
iommu device gets PASS as well. Tested-by: Yanghang Liu On Wed, Oct 18, 2023 at 9:45 PM Michael S. Tsirkin wrote: > > On Wed, Oct 11, 2023 at 07:52:16PM +0200, Eric Auger wrote: > > This applies on top of vfio-next: > > https://github.com/legoater/qemu/, vfio-next branch >

Re: [PATCH v2 00/12] VIRTIO-IOMMU/VFIO: Don't assume 64b IOVA space

2023-09-26 Thread YangHang Liu
iommu device gets PASS as well. Tested-by: Yanghang Liu On Wed, Sep 13, 2023 at 4:06 PM Eric Auger wrote: > > On x86, when assigning VFIO-PCI devices protected with virtio-iommu > we encounter the case where the guest tries to map IOVAs beyond 48b > whereas the physical VTD IOMMU only s

Re: [PATCH 00/13] VIRTIO-IOMMU/VFIO: Don't assume 64b IOVA space

2023-09-05 Thread YangHang Liu
ter removing the 2 PF from the VM, both tests passed. Tested-by: Yanghang Liu Best Regards, YangHang Liu On Mon, Sep 4, 2023 at 4:08 PM Eric Auger wrote: > > On x86, when assigning VFIO-PCI devices protected with virtio-iommu > we encounter the case where the guest tries to map IOVAs

Re: [PATCH v2 4/5] vfio/migration: Block VFIO migration with postcopy migration

2023-09-01 Thread YangHang Liu
When try to do the vfio post-copy migration, we can get an expected internal error now: "unable to execute QEMU command 'migrate': :b1:00.2: VFIO migration is not supported with postcopy migration" Tested-by: Yanghang Liu Best Regards, YangHang Liu On Thu, Aug 31, 20

Re: [PATCH for-8.2 v3 0/6] vfio/migration: Add P2P support for VFIO migration

2023-08-28 Thread YangHang Liu
Test result of multiple Mellanox CX-7 VFs migration: PASS [1] create two VFs and bind them to mlx5_vfio_pci driver [2] start a VM with two VFs [3] migrate the VM [4] check if the VM works well Tested-by: YangHang Liu Best Regards, YangHang Liu On Wed, Aug 2, 2023 at 4:16 PM Avihai Horon

Re: [PATCH for-8.2 v3 5/6] vfio/migration: Add P2P support for VFIO migration

2023-08-28 Thread YangHang Liu
Test result of multiple Mellanox CX-7 VFs migration: PASS [1] create two VFs and bind them to mlx5_vfio_pci driver [2] start a VM with two VFs [3] migrate the VM [4] check if the VM works well Tested-by: YangHang Liu Best Regards, YangHang Liu On Wed, Aug 2, 2023 at 4:43 PM Cédric Le Goater

Re: [PATCH v5 0/9] migration: Add switchover ack capability and VFIO precopy support

2023-06-16 Thread YangHang Liu
Tested-by: YangHang Liu On Wed, May 31, 2023 at 1:01 AM Avihai Horon wrote: > > Hello everyone, > > This is v5 of the switchover ack series. > > Changes from v4 [6]: > * Removed superfluous '"' in vfio_save_iterate() trace. (Cedric) > * Removed VFIOMigrat

Re: [PATCH v5 1/9] migration: Add switchover ack capability

2023-06-15 Thread YangHang Liu
-by: YangHang Liu On Wed, May 31, 2023 at 1:46 AM Avihai Horon wrote: > > Migration downtime estimation is calculated based on bandwidth and > remaining migration data. This assumes that loading of migration data in > the destination takes a negligible amount of time and t