RE: [PATCH v4 5/5] vfio/migration: Refactor and fix print of "Migration disabled"

2023-06-29 Thread Duan, Zhenzhong
>-Original Message- >From: Cédric Le Goater >Sent: Friday, June 30, 2023 12:40 AM >Subject: Re: [PATCH v4 5/5] vfio/migration: Refactor and fix print of >"Migration >disabled" > >Hello Zhenzhong, > >On 6/29/23 10:40, Zhenzhong Duan wrote: >&g

RE: [PATCH v4 5/5] vfio/migration: Refactor and fix print of "Migration disabled"

2023-06-29 Thread Duan, Zhenzhong
>-Original Message- >From: Alex Williamson >Subject: Re: [PATCH v4 5/5] vfio/migration: Refactor and fix print of >"Migration >disabled" > >On Thu, 29 Jun 2023 16:42:23 +0100 >Joao Martins wrote: > >> On 29/06/2023 16:20, Avihai Horon wrote: &

Re: [PATCH v4 5/5] vfio/migration: Refactor and fix print of "Migration disabled"

2023-06-29 Thread Alex Williamson
On Thu, 29 Jun 2023 16:42:23 +0100 Joao Martins wrote: > On 29/06/2023 16:20, Avihai Horon wrote: > > On 29/06/2023 15:44, Joao Martins wrote: > >> On 29/06/2023 09:40, Zhenzhong Duan wrote: > >>> This patch refactors vfio_migration_realize() and its dependend code > >>> as follows: > >>> >

Re: [PATCH v4 5/5] vfio/migration: Refactor and fix print of "Migration disabled"

2023-06-29 Thread Cédric Le Goater
Hello Zhenzhong, On 6/29/23 10:40, Zhenzhong Duan wrote: This patch refactors vfio_migration_realize() and its dependend code as follows: 1. It's redundant in vfio_migration_realize() to registers multiple blockers, e.g: vIOMMU blocker can be refactored as per device blocker. 2. Change

Re: [PATCH v4 5/5] vfio/migration: Refactor and fix print of "Migration disabled"

2023-06-29 Thread Joao Martins
On 29/06/2023 16:20, Avihai Horon wrote: > On 29/06/2023 15:44, Joao Martins wrote: >> On 29/06/2023 09:40, Zhenzhong Duan wrote: >>> This patch refactors vfio_migration_realize() and its dependend code >>> as follows: >>> >>> 1. It's redundant in vfio_migration_realize() to registers multiple

Re: [PATCH v4 5/5] vfio/migration: Refactor and fix print of "Migration disabled"

2023-06-29 Thread Avihai Horon
On 29/06/2023 15:44, Joao Martins wrote: External email: Use caution opening links or attachments On 29/06/2023 09:40, Zhenzhong Duan wrote: This patch refactors vfio_migration_realize() and its dependend code as follows: 1. It's redundant in vfio_migration_realize() to registers multiple

Re: [PATCH v4 5/5] vfio/migration: Refactor and fix print of "Migration disabled"

2023-06-29 Thread Joao Martins
On 29/06/2023 09:40, Zhenzhong Duan wrote: > This patch refactors vfio_migration_realize() and its dependend code > as follows: > > 1. It's redundant in vfio_migration_realize() to registers multiple blockers, >e.g: vIOMMU blocker can be refactored as per device blocker. > 2. Change

[PATCH v4 5/5] vfio/migration: Refactor and fix print of "Migration disabled"

2023-06-29 Thread Zhenzhong Duan
This patch refactors vfio_migration_realize() and its dependend code as follows: 1. It's redundant in vfio_migration_realize() to registers multiple blockers, e.g: vIOMMU blocker can be refactored as per device blocker. 2. Change vfio_viommu_preset() to be only a per device checker. 3. Remove