Re: [PATCH] migration: Move populate_vfio_info() into a separate file

2021-03-25 Thread Juan Quintela
"Dr. David Alan Gilbert" wrote: > * Thomas Huth (th...@redhat.com) wrote: >> On 15/03/2021 22.05, Philippe Mathieu-Daudé wrote: >> > Hi Thomas, >> > >> > +Alex >> > >> > On 3/15/21 8:07 PM, Thomas Huth wrote: >> > > The CONFIG_VFIO switch only works in target specific code. Since >> > > migratio

Re: [PATCH] migration: Move populate_vfio_info() into a separate file

2021-03-16 Thread Dr. David Alan Gilbert
* Thomas Huth (th...@redhat.com) wrote: > On 15/03/2021 22.05, Philippe Mathieu-Daudé wrote: > > Hi Thomas, > > > > +Alex > > > > On 3/15/21 8:07 PM, Thomas Huth wrote: > > > The CONFIG_VFIO switch only works in target specific code. Since > > > migration/migration.c is common code, the #ifdef do

Re: [PATCH] migration: Move populate_vfio_info() into a separate file

2021-03-15 Thread Thomas Huth
On 15/03/2021 22.05, Philippe Mathieu-Daudé wrote: Hi Thomas, +Alex On 3/15/21 8:07 PM, Thomas Huth wrote: The CONFIG_VFIO switch only works in target specific code. Since migration/migration.c is common code, the #ifdef does not have the intended behavior here. Move the related code to a sepa

Re: [PATCH] migration: Move populate_vfio_info() into a separate file

2021-03-15 Thread Philippe Mathieu-Daudé
Hi Thomas, +Alex On 3/15/21 8:07 PM, Thomas Huth wrote: > The CONFIG_VFIO switch only works in target specific code. Since > migration/migration.c is common code, the #ifdef does not have > the intended behavior here. Move the related code to a separate > file now which gets compiled via specific

[PATCH] migration: Move populate_vfio_info() into a separate file

2021-03-15 Thread Thomas Huth
The CONFIG_VFIO switch only works in target specific code. Since migration/migration.c is common code, the #ifdef does not have the intended behavior here. Move the related code to a separate file now which gets compiled via specific_ss instead. Fixes: 3710586caa ("qapi: Add VFIO devices migration