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

2023-06-27 Thread Duan, Zhenzhong
>-Original Message- >From: Joao Martins >Sent: Tuesday, June 27, 2023 6:57 PM >To: Duan, Zhenzhong ; Avihai Horon > >Cc: alex.william...@redhat.com; c...@redhat.com; Peng, Chao P >; qemu-devel@nongnu.org >Subject: Re: [PATCH v3 3/3] vfio/migration: vfio/migration:

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

2023-06-27 Thread Joao Martins
On 27/06/2023 03:55, Duan, Zhenzhong wrote: >> I guess it makes sense -- the thing that was tieing him was the global >> migration >> blocker, which is now consolidated into the main migration blocker. >> >> My vIOMMU series will relax this condition yes (still same per-device scope). >> And I wil

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

2023-06-26 Thread Duan, Zhenzhong
>-Original Message- >From: Joao Martins >Sent: Monday, June 26, 2023 6:19 PM >To: Avihai Horon ; Duan, Zhenzhong > >Cc: alex.william...@redhat.com; c...@redhat.com; Peng, Chao P >; qemu-devel@nongnu.org >Subject: Re: [PATCH v3 3/3] vfio/migration: vfio/migration:

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

2023-06-26 Thread Duan, Zhenzhong
>-Original Message- >From: Avihai Horon >Sent: Monday, June 26, 2023 5:35 PM >To: Duan, Zhenzhong ; qemu- >de...@nongnu.org >Cc: alex.william...@redhat.com; c...@redhat.com; Martins, Joao >; Peng, Chao P >Subject: Re: [PATCH v3 3/3] vfio/migration: vfio/mig

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

2023-06-26 Thread Joao Martins
On 26/06/2023 10:34, Avihai Horon wrote: > > On 21/06/2023 11:02, Zhenzhong Duan wrote: >> External email: Use caution opening links or attachments >> >> >> This patch refactors vfio_migration_realize() and its dependend code >> as follows: >> >> 1. It's redundant in vfio_migration_realize() to

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

2023-06-26 Thread Avihai Horon
On 21/06/2023 11:02, Zhenzhong Duan wrote: External email: Use caution opening links or attachments 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 re